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.