Office365/ Exchange OAuth errors after replacing TLS certificate

A customer of mine asked for help to analyse a weird OAuth error. They are using a Microsoft Dynamics 365 Outlook plugin, which came up with an error:

“Can’t connect to Exchange”

In addition to this, they also faced an issueaccessing shared calendars of Exchange Online mailboxes.

Clearly an OAuth error. So we ran the Hybrid Connection Wizard again, which finished without any errors. But the errors persisted. Next stop: OAuth configuration.

We logged into one of the Exchange servers, started an Exchange Management Shell and checked the current OAuth configuration:

The CurrentCertificateThumbprint was the thumbprint of the old certificate. So we had to update it.

After the iisreset, the Dynamics plugin and the Exchange Online calendars started to work again.

Patrick Terlisten
Follow me

Leave a Reply

Your email address will not be published. Required fields are marked *