The issue you are experiencing with the Exchange Server 2013 after updating the certificate could be related to the OAuth certificate or permissions on the server. Here are some steps you can take to troubleshoot and resolve the problem:
- Check OAuth Certificate: Run the following command in the Exchange Management Shell to check the status of your existing OAuth certificate:
If the command returns an error or the certificate has expired, you will need to create and deploy a new OAuth certificate.(Get-AuthConfig).CurrentCertificateThumbprint | Get-ExchangeCertificate | Format-List - Create New OAuth Certificate: If necessary, create a new OAuth certificate using the following command:
New-ExchangeCertificate -KeySize 2048 -PrivateKeyExportable $true -SubjectName "cn=Microsoft Exchange Server Auth Certificate" -FriendlyName "Microsoft Exchange Server Auth Certificate" -DomainName @() - Set New Certificate for Authentication: Set the new certificate for server authentication with these commands:
Set-AuthConfig -NewCertificateThumbprint <ThumbprintFromStep1> -NewCertificateEffectiveDate (Get-Date) Set-AuthConfig -PublishCertificate Set-AuthConfig -ClearPreviousCertificate - Restart Services: Restart the Microsoft Exchange Service Host Service and run the following commands to recycle the Outlook on the web and EAC application pools:
Restart-WebAppPool MSExchangeOWAAppPool Restart-WebAppPool MSExchangeECPAppPool - Check Permissions: Ensure that the computer object is not part of any group that denies the
ms-Exch-EPI-Token-Serializationuser right, which can cause authorization issues. You may need to remove the computer object from such groups. - IIS Reset: Finally, run the
iisresetcommand to restart IIS and verify if you can now access OWA and EAC without errors.
Following these steps should help you resolve the authentication issues you are facing with OWA and EAC.
References: