web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

How to track which plugin updated an entity

(1) ShareShare
ReportReport
Posted on by 28

How would I go about tracking which plugin has updated a value? I'm checking audit log which shows my name as I am the one who fired the plugin. I've changed the registered plugin step to a different user context that I created with the name as the plugin (PreUpdateWorkorder). I gave the user the security role Delegate and then ran the plugin but still nothing. I just need a way to see which plugin updated an entity as it would be very helpful!

I have the same question (0)
  • Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    When you impersonate your plugin to run under different user, You will see the triggering user name in Modified By field and Impersonated user name will show in Modified By (Delegate) field.

    In Audit history, you will need to double click on record to show both triggering user and impersonated user.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • akblyth Profile Picture
    28 on at

    My audit history only has a changed by field which is still showing as me. I have the impersonation step set and even some code to do the same thing. Still isn't working

    https://imgur.com/a/een0vPy

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans