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 :
Microsoft Dynamics CRM (Archived)

Impersonate in custom workflow in crm on premise

(0) ShareShare
ReportReport
Posted on by 175

Hello,

I want to impersonate custom workflow with admin user but context user does not have access to get admin user to impersonate.

Any ideas how to do ?

Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    Hello there,

    should be easy you just have to pass the workflow owner id to organaizationservice: www.inogic.com/.../scenario-where-impersonation-in-custom-workflow-can-be-used-for-dynamics-crm  

    yeshwanthco5.wordpress.com/.../impersonation-in-custom-workflows-in-microsoft-dynamics-crm-2016  

    othwerwise simply retrieve the guid of the required user and use it.

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    on top of what Rawish suggested, i would recommend you read Microsoft's official guideline on Impersonating a user.

    It may not be a good idea to use System Administrator role to impersonate, you could have a security role only with the necessary elevated permission to do the job.

    And I would also recommend using the Delegate OOB security role. Please follow the link below

    ScreenClip-_5B00_237_5D00_.png

    [View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/org-service/impersonate-another-user:750:50]

  • LBA Profile Picture
    175 on at

    Hi, This solution is not working for me.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans