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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Error when running "Test & Enable Mailbox"

(0) ShareShare
ReportReport
Posted on by
Dynamics On-Premises v9.1, connection to Exchange On-Premises, Dynamics has a certificate. Exchange on another server.
 
What am I missing? 
 
The error message "Your mailbox is now connected to Dynamics 365" cannot be sent because a server certificate required to connect to the email server using SSL could not be validated. Mailbox MAILBOX_NAME didn't synchronize. The owner of the email server profile SERVER_PROFILE_NAME has been notified.

ActivityId: bc37ff6a-f176-40f6-a9ae-73fe5b9dda90
>Error : Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
   --- End of inner exception..
Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    209 on at
    You are missing certificate trust configuration on the Dynamics server

    Fix by installing Exchange SSL certificate (and chain) into Trusted Root store and ensuring URL matches the certificate

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 95

#3
ManoVerse Profile Picture

ManoVerse 57 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans