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.

狀況

Microsoft Dynamics CRM 2013年網際網路面向部署 (IFD),使用 [Windows Server 2012 R2 上的 [使用中目錄聯盟服務 Web 應用程式 Proxy 的設定後嘗試存取外部 IFD URL 的 CRM 時使用者時,可能會收到 HTTP 404 錯誤訊息。

使用者也可能會注意到 CRM IFD URL 和 IFD 組態期間使用 ADFS URL 之間重新導向迴圈。


在事件檢視器應用程式記錄檔在 Active Directory 聯盟服務的 web 伺服器上,也可能會記錄下列錯誤︰

Microsoft.IdentityServer.Web.InvalidRequestException: MSIS7042: 'X' 對相同的用戶端瀏覽器工作階段中最後的 'Y' 秒的要求。如需詳細資訊,請連絡您的系統管理員。

在 Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.UpdateLoopDetectionCookie (WrappedHttpListenerContext 內容)

在 Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.SendSignInResponse (WSFederationContext 內容,MSISSignInResponse 回應)

在 Microsoft.IdentityServer.Web.PassiveProtocolListener.ProcessProtocolRequest (ProtocolContext protocolContext、 PassiveProtocolHandler protocolHandler)

在 Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext (WrappedHttpListenerContext 內容)

原因

使用中目錄同盟服務 Web 應用程式 Proxy 伺服器轉譯 URL 的 HTTP 回應標頭

解決方案

1.以登入裝載 WAP 角色的 Windows Server 2012 R2 伺服器上的系統管理員
2.取得的 CRM WAP 應用程式的 Id。在 Windows PowerShell 視窗中,輸入下列命令︰
 
取得 WebApplicationProxyApplication |格式化表格 ID、 名稱、 ExternalURL

3.請注意下列的 CRM 端點的 CRM 網際網路面向的部署組態期間所指定的識別碼

Web 應用程式伺服器的網域
探索 Web 服務的網域
外部網域的 URL

4.PowerShell 透過執行下列命令,請使用識別碼取得在先前步驟中,若要停用在回應標頭中的 URL 轉譯

設定 WebApplicationProxyApplication-ID < WebApplicationServerDomainID > DisableTranslateUrlInResponseHeaders
設定 WebApplicationProxyApplication-ID < DiscoveryWebServiceDomainID > DisableTranslateUrlInResponseHeaders
設定 WebApplicationProxyApplication-ID < ExternalDomainURLID > DisableTranslateUrlInResponseHeaders

5.重新啟動 ADFS 伺服器和 Web 應用程式 Proxy 伺服器上的 ADFS 服務

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!

×