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

On Demand workflows throw error 'User does not have the privilege to act on behalf another user'

(0) ShareShare
ReportReport
Posted on by 680

Hello team,

   we have a service account under which all our workflows run. The user is system admin in our crm system. The async services also run under the same user. When we logged in with different user(also an admin) to run on demand workflow it throws the error 'User does not have the privilege to act on behalf another user'. But all the other workflows which run in background which also under the same user as of async service do not throw any error and succeeds. Are we missing something?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Andreas Cieslik Profile Picture
    9,267 on at
    RE: On Demand workflows throw error 'User does not have the privilege to act on behalf another user'

    Have you checked the user settings if they all have the "Act on Behalf..." permission?

    Also check this article:

    community.dynamics.com/.../138603

    maybe you have similar issue with email send on behalf?

  • Karthik Dayala Profile Picture
    680 on at
    RE: On Demand workflows throw error 'User does not have the privilege to act on behalf another user'

    Hello yes I have checked for all the users and they all have it. I have refererred article before posting here. Still no luck. :(

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: On Demand workflows throw error 'User does not have the privilege to act on behalf another user'

    Hi Karthi,

    A workflow can only be activated or deactivated by the workflow owner or by someone with the ‘Act on Behalf of Another User’ privilege such as the system administrator.  The reason for this is that a malicious user could modify someone’s workflow without them being aware of the change. You can reassign a workflow you own by changing the owner. This field is on the ‘Administration’ tab. If you are not the system administrator and you need to edit a workflow that has to owned by another user, you need them to deactivate it and assign it to you. After you finish editing the workflow, you can to assign it back to them and they will need to activate it.

  • Suggested answer
    PS Profile Picture
    23,577 on at
    RE: On Demand workflows throw error 'User does not have the privilege to act on behalf another user'

    It seems this workflow is sending out an email

    You can try one of the following:

    1. In the workflow go to set properties of email and change 'from ' to 'owner/modifie by/created by' and then try

    2. Log in to your service account and go to email tab and select ' allow other users to send email on my behalf' as yes

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

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans