Loading...

Impersonation while calling Action using JavaScript

Image
Unlike workflows Actions always executes in user context by default. If you want to impersonate and execute action from service account . Use below line in you code to call the action request.setRequestHeader(“MSCRMCallerID”, “214b236e-2970-ea11-a811-000d3a2c57ba”); // here pass the Guid of the service account or any user. Note : User should have act on behalf privilege. … Continue reading Impersonation while calling Action using JavaScript
Learn more
Author image

Sanket Kumar – My blog where I share my learnings

My blog where I share my learnings

Share post:

Related

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!

* Yes, I agree to the privacy policy