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)

Privilege error on Synchronous Workflow running under System Administrator

(0) ShareShare
ReportReport
Posted on by 170

Hi, I have an on demand sync workflow that is associated to an activity. When it's triggered by a user request (button in the command bar), it updates a related incident.

I've clicked the option to run the wf in the workflow owner context because the end user shoudn't have write privilege over the case entity, and the wf owner has the System Administrator role assigned.

The user cannot run the workflow, and the server error is: Principal user (Id=b3530867-43f3-e011-ae01-00155d01c509, type=8) is missing prvWriteIncident privilege (Id=7b26693f-1c0c-4e87-8918-f4cc7d219d70). If I run the wf under the System Administrator context, the only option left is that it's running under the user context, and that's not what's expected.

Any comments or suggestions?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    NicolasBrandl Profile Picture
    170 on at

    From Richard Knudson's blog: On-demand processes run in the security context of the user running the process, Scope does not matter for on-demand processes. www.dynamicscrmtrickbag.com/.../security-for-crm-2011-on-demand-processes

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