Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer Service forum

Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I am attempting to "Test and Enable" my mailbox in a new instance of Dynamics 365 CRM and I keep getting this error when it attempts the outbound:
====

An unexpected error occurred while sending the email message "Your mailbox is now connected to Dynamics 365". Mailbox Financial IT GUY didn't synchronize. The owner of the associated email server profile Microsoft Exchange Online has been notified.

ActivityId: 673bb055-4b9a-4121-b01e-26669dc93410
>Error : Microsoft.Crm.CrmException: User does not have the privilege to act on behalf another user.
at Microsoft.Crm.BusinessEntities.SecurityLibrary.VerifyUser(Guid user, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.ExecutionContext.SetCaller(Guid callerId, Boolean setCallerLanguage, Boolean verifyUser, Int32 callerLanguageCode, Guid previousCallerBusinessId)
at Microsoft.Crm.BusinessEntities.ExecutionContext.OnBeginRequest(Guid userId, Boolean startTransaction, IsolationLevel isolationLevel, ExecutionOperationContext operationContext, CallerOriginToken originToken)
at Microsoft.Crm.BusinessEntities.ExecutionContext.OnBeginRequest(Guid userId, Boolean startTransaction, IsolationLevel isolationLevel, ExecutionOperationContext operationContext)
at Microsoft.Crm.BusinessEntities.ExecutionContext.OnBeginRequest(Guid userId, Boolean startTransaction)
at Microsoft.Crm.Asynchronous.EmailConnector.S2SHelper.UpdateMetadataFor...

=====

Now here's the issue:  I'm logged in as as System Admin and also am a Global Admin for my Tenant.  I am attempting to Test and Enable my own mailbox.  Is it really saying that I can't send an email on behalf of myself?  Also, this is the first time this has happened and it's happening with every mailbox I try to enable, with any user, regardless of security role or admin status.

Any ideas?

Categories:
  • RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    The issue in my trial instance got auto-resolved today. Maybe MS have applied hotfix overnight to resolve it.

  • Verified answer
    RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    Issue resolved after opening a ticket with Microsoft, finding out that there would be a hotfix applied and trying again after the hotfix.  

  • RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    I'm logged in as a System Administrator and so the privilege is already assigned.

  • Suggested answer
    ARIFNIIT Profile Picture
    ARIFNIIT 1,391 on at
    RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    Assign Privilege Act on behalf of another user to your user security role. 

  • RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    I am also getting the same error today.  I have created a CRM trial instance last week and configured server side sync, mailbox, exchange and all that, with those settings Dynamics was processing emails on 12/05/2017, but when I tested today on the same mailbox, it didn't work.  I am getting same error as what you mentioned.

  • RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    I do not see those options in my Email Server Profile screen...

  • Suggested answer
    ARIFNIIT Profile Picture
    ARIFNIIT 1,391 on at
    RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    I am asking about incoming and outgoing connection credential. refer below screenshot 

    3157.7457.3.jpg

  • RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    I am looking at the Email Server Profile Configuration but there is no authentication listed anywhere.  The owner is "System".  Am I missing something here?

    6663.emailserverprofile.PNG

  • ARIFNIIT Profile Picture
    ARIFNIIT 1,391 on at
    RE: Setting up Server Side Synchronization with Exchange Online, get "User does not have the privilege to act on behalf another user" error

    Please check email server profile configuration. I think authentication setting is running with a user credential who does not have permission on behalf of exchange folder.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans