web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Missing Impersonation Role when configuring Email Server Profile with supplied credentials

(0) ShareShare
ReportReport
Posted on by 5

Hello

I'm experiencing an odd issue when attempting to configure a mailbox in MS Dynamics.  We're using version Dynamics 365 8.2.10.24.  Here is the behaviour i see:

- I attempt to configure an email server profile for my mailbox
- I select Server type "Exhange Server", enter the locations then select "Credentials Specified in Email Server Profile" for authentication
- I then enter the email address, username and password it should use

Result:
- I attempt to configure a user mailbox for that same email address to use that Email Service Profile i receive this Impersonation error:

"ActivityId: 19bf8511-92ad-4e74-baf0-b1569ada65ad
>Error : Microsoft.Exchange.WebServices.Data.ServiceResponseException: The account does not have permission to impersonate the requested user.
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ProcessWebException(WebException webException)
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
   at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
   at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalCreateItems(IEnumerable`1 items, FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode, ServiceErrorHandling errorHandling)
   at Microsoft.Exchange.WebServices.Data.Item.InternalCreate(FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode)
   at Microsoft.Exchange.WebServic..."

At this point I wanted to test a different setup:
-I instead set the Email Service Profile authentication settings to: Credentials Specified by a user or Queue
-I configured the user email box with the email address and supply the same user name and password as before
-I am then able to successfully test and enable the user email box

My question is:
Why is a missing impersonation role error encountered when supplying the email address, username and password in the Email Server Profile but not when supplied in the user email box.

  • Suggested answer
    Adrian Begovich Profile Picture
    1,032 Moderator on at

    Hi Nickolas Boucher,

    This error can appear if the user account specified in the Email Server Profile record does not have impersonation permissions for the Exchange mailbox. Make sure the user account provided in the Email Server Profile record has impersonation permissions to each associated Exchange mailbox.

  • Nickolas Boucher Profile Picture
    5 on at

    Thanks for the reply Adrian however this doesn't really answer my question.  

    This is what I'm trying to determine:

    Why does my user account need to have impersonation permissions for the exchange mailbox when I supply the credentials in the Email Server Profile but not when supplied in a User Mailbox?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 58 Most Valuable Professional

#2
Travis South Profile Picture

Travis South 37

#3
11manish Profile Picture

11manish 22 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans