安裝 Exchange Server 2019 CU8 後,事件 ID 1003、1309 和 4999 會被記錄下來

套用到
Exchange Server 2019

症狀

安裝或升級至 2019 累積更新Microsoft Exchange Server (CU) 8 後,你會在電腦事件日誌中收到類似以下錯誤訊息:

記錄檔名稱:應用程式
資料來源:ASP.NET 4.0.30319.0
事件編號:1309
任務類別:網路事件
等級:警告
關鍵字:類別
描述:

例外資訊:
例外類型:DuplicateKeyException
異常訊息:無法新增重複金鑰。 改用插入
at Microsoft.Exchange.Security.Authentication.FederatedAuthService.CacheReader.AddEntry (字串 userKey、Int32 userPolicy、ConfigWrapper config)

記錄檔名稱:應用程式
資料來源:MSExchange Common
事件編號:4999
任務類別:一般
層級:錯誤
關鍵字:類別
描述:

Watson 報告即將發送,程序編號為 3292,參數包括:E12IIS、c-RTL-AMD64、15.02.0659.004、w3wp#MSExchangePowerShellFrontEndAppPool、M.Exchange.Security、M.E.S.A.F.CacheReader.AddEntry、M.E.C.TimeoutCache.DuplicateKeyException、28e2-dumptidset、15.02.0659.004。
ErrorReportingEnabled:為真

記錄檔名稱:應用程式
來源:MSExchange 前端 HTTP
事件編號:1003
任務類別:核心
層級:錯誤
關鍵字:類別
描述:

[PowerShell]發生了內部伺服器錯誤。 未處理的例外為:Microsoft.Exchange.Collections.TimeoutCache.DuplicateKeyException:無法新增重複金鑰。 改用插入
   at Microsoft.Exchange.Security.Authentication.FederatedAuthService.CacheReader.AddEntry (字串 userKey、Int32 userPolicy、ConfigWrapper config)
   at Microsoft.Exchange.Security.Authentication.FederatedAuthService.BasicAuthPolicyRepo.GetUserPolicy (String userKey, Int32 traceId, Int32& userPolicy, HttpApplication httpApplication, IRecipientSession recipientSession, IConfigurationSession configSession, ConfigWrapper config)
   at Microsoft.Exchange.Security.Authentication.FederatedAuthService.BasicAuthPolicyEvaluator.IsBasicAuthAllowed (字串 userKey、String protocolName、Int32 traceId、HttpApplication httpApplication、IRecipientSession recipientSession、IConfigurationSession configSession、ConfigWrapper config)
   網址:Microsoft.Exchange.HttpProxy.ProxyModule.IsLegacyAuthAllowed (httpApplication httpApplication)
   網址:Microsoft.Exchange.HttpProxy.ProxyModule.OnPostAuthenticateInternal (httpApplication httpApplication)
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch (動作 tryDelegate, Func'2 filterDelegate, Action'1 catchDelegate)

原因

此問題是由於 Exchange Server 2019 CU8 內部變更所引起。 你現在可以放心忽略這些事件日誌條目了。 這個行為會在後續更新中被修正。

解決方式

要解決此問題,請安裝 Exchange Server 2019 的累積更新 9較晚的 Exchange Server 2019 累積更新。

因應措施

當使用者收到症狀區段描述的 DuplicateKeyException 錯誤時,可能會被要求輸入 Outlook 的憑證。 你可以執行以下指令來還原 CU8 中所做的變更:

Set-OrganizationConfig -DefaultAuthenticationPolicy $null