EWS 應用程式集區因 Exchange Server OAuth 憑證已過期而崩潰

徵狀

Exchange Web 服務 (EWS) 應用程式集區在所有伺服器上每 10-15 分鐘都會崩潰,而 EWS 應用程式會引發 HTTP 503 錯誤。 這些事件會記錄在事件檢視器中:

Log Name:      Application
Source:        MSExchange Common
Date:          <Data time>
Event ID:      4999
Task Category: General
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Exchange2016.contoso.com
Description:
Watson report about to be sent for process id: 63200, with parameters: E12IIS, c-RTL-AMD64, 15.01.1979.003, w3wp#MSExchangeServicesAppPool, M.Exchange.Security, M.E.S.O.V1ProfileLocalTokenIssuer..ctor, M.E.S.OAuth.OAuthTokenRequestFailedException, 6446-dumptidset, 15.01.1979.003.
ErrorReportingEnabled: False 
Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          <Data time>
Event ID:      5011
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     Exchange2016.contoso.com
Description:
A process serving application pool 'MSExchangeServicesAppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '29492'. The data field contains the error number.

原因

Exchange Server 開啟驗證 (OAuth) 憑證已過期。

解決方案

請參閱 本文 以更新 OAuth 憑證。