Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

假設您嘗試發出 GET 請求,以獲取託管在 Microsoft Exchange 伺服器 2019 或 Exchange Server 2016 上的郵箱的自動探索V1 終結點(例如,user1@contoso.com)。發出的JSON是\"協定":"自動探索V1","Url":"HTTPs://mail.contoso.com/api",而不是\"協定":"自動探索V1","Url":"HTTPs://自動探索.contoso.com/自動探索/自動探索.xml"。

原因

自動探索V1不在支援的協定的枚舉中。結果是,在資源UrlBuilder.GetResourceUrlSuffixForProtocol方法中,計算了錯誤的枚舉值。當代碼使用 Enum.TryParse 時,它不會檢查傳回值以查看分析是否成功。解析不成功,枚舉值最終為 REST。這將導致返回 REST 終結點。

解決方案

要解決此問題,請安裝以下更新之一:

參考

瞭解 Microsoft 用於描述軟體更新的術語。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×