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

Community site session details

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

How can we identify Plugins (and anything else) impersonating a given user?

(0) ShareShare
ReportReport
Posted on by 35

One of our admins for CRM that has left the company and when we disabled his account, parts of the customizations in CRM crash. When we turn his account back on, everything starts working again. I'm trying to track down everything that could cause this, but I am not having any luck and I am running out of ideas.

It looks like this might have something to do with a plugin, but maybe not just a plugin. I did an advanced search for SDK Message Processing Steps and filter the impersonating User against his id, and I did find one thing. It seems to be an active real-time workflow but it has no name. Therefore, I can't pull it up and disable it and I can't find it in any other lists. The workflow is in fact related to the entity that crashes on update when we disable his account, so it seems likley that this could be related. But I have no idea how to go about approaching this. 

Any ideas? I'm wondering if I could jump into SQL and give it a name, then maybe it will show up and I can disable it. 

I'm not sure this plugin is the problem but it seems highly suspect. I think I just need to find everything he owns or that runs under his account (impresonating use) then either disable it or change it to run as the CRM system admin account.

I'm open to ideas here. I don't run into stuff like this often, so it is outside my experiance. Any suggestions, links, ideas, etc. are much appreciated. 

Best regards,

Jon

I have the same question (0)
  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: How can we identify Plugins (and anything else) impersonating a given user?

    Hi,

    Navigate to settings - Processes - All process - filter Owner by your User Name in list view to get the workflow.

    If you want to know the plugin steps where calling user is your user then as you mentioned you can use advanced find.

    You can also write SQL query

    Select * from sdkmessageprocessingsteps where callinguserid ='your user id'

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 164

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 121 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans