After KB5004778 update, unable to access OWA & ECP (http code 500)

EM Support 41 Reputation points
2021-07-18T01:59:12.187+00:00

Exchange 2013 CU23
After login to OWA or ECP, I encountered http code 500.
Before that, I was updated security update KB5004778 (after a few failed attempts).
115623-image.png

I followed "OWA or ECP stops working after you install a security update" but failed.
https://learn.microsoft.com/en-us/exchange/troubleshoot/client-connectivity/owa-stops-working-after-update
I run security update KB5004778 again without any issue.
But I still got http code 500.
Please advise, thanks.

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.


Answer accepted by question author
Kai Yao 37,791 Reputation points Moderator
2021-07-19T01:40:56.317+00:00

Hi @EM Support

Sorry I need to add the following questions to get some more information:

  1. Is it a standalone Exchange server?
  2. Can you find some error events in the Event Viewer>Application log?
  3. Can Exchange Management Shell be opened without any problems?

And was the detailed HTTP 500 error message "HMACProvider.GetCertificates:protectionCertificates.Length<1"?

If it is the case, this issue may be caused by the OAuth certificate is missing or expired.
115669-15.jpg

Please run this command to first check if the OAuth certificate is missing or expired:

Get-ExchangeCertificate (Get-AuthConfig).CurrentCertificateThumbprint  

If there is no result returned or the OAuth certificate has expired, please follow this link to create a new OAuth certificate and see if it can get rid of the problem.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?


12 additional answers

Sort by: Oldest
  1. Manu Philip 20,661 Reputation points MVP Volunteer Moderator
    2021-07-18T02:41:48.877+00:00

    Can you check, if the bindings are assigned correctly in IIS console for both websites (Default website and Exchange Backend)

    115603-image.png

    Was this answer helpful?


  2. Giorgio Busoni 1 Reputation point
    2021-07-19T18:52:04.89+00:00

    I also have the same issue. I tried to run the command, it returned a thumbprint. Servercis: only S listed
    I have checked the binding, seems correct. Default website has the usuale certificate, while backend has no certificate assigned

    Was this answer helpful?

    0 comments No comments

  3. Giorgio Busoni 1 Reputation point
    2021-07-19T22:55:27.547+00:00

    Was this answer helpful?

    0 comments No comments

  4. Arunkumar Mayakrishnan 1 Reputation point
    2021-07-20T07:39:01.14+00:00

    The Microsoft Exchange Server Auth Certificate got pointed to a wrong expired one, causing this issue.

    To fix it first, check whether the Auth certificate using the below command. If it's not pointed to the correct one, then it needs to be replaced with the correct one.

    Get-ExchangeCertificate (Get-AuthConfig).CurrentCertificateThumbprint

    To replace the correct certificate :
    Set-AuthConfig -NewCertificateThumbprint <correctMSAuththumprint> -NewCertificateEffectiveDate (Get-Date)
    Set-AuthConfig -PublishCertificate
    Set-AuthConfig -ClearPreviousCertificate

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.