[Outlook add-ins] Check certificate if mailbox.getCallbackTokenAsync starts returning “An internal error has occurred”
If mailbox.getCallbackTokenAsync calls against your Exchange on-premises server suddenly start returning “An internal error has occurred”, you should check if your certificate has expired or was not renewed properly.
Renewing through your certificate management flow or using the following steps may help you to resolve this issue.
- Create a new self-signed certificate using the New-ExchangeCertificate cmdlet.
- Modify the authorization configuration using the Set-AuthConfig cmdlet to set the thumbprint.
- Publish the certificate created in the step 1.