Loading...

Impersonation while calling Action using JavaScript

Impersonation while calling Action using JavaScript
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

Published on:

Learn more
Sanket Kumar – My blog where I share my learnings
Sanket Kumar – My blog where I share my learnings

My blog where I share my learnings

Share post:

Related posts

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy