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 :
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.

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    RE: Missing Impersonation Role when configuring Email Server Profile with supplied credentials

    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
    RE: Missing Impersonation Role when configuring Email Server Profile with supplied credentials

    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

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 36 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans