分享方式:


當您嘗試連線 Microsoft Dynamics CRM for Office Outlook 時,拒絕存取錯誤

本文提供當您嘗試連線 Microsoft Dynamics CRM for Office Outlook 時所發生的錯誤解決方案。

適用於: Microsoft Dynamics CRM 2015、Microsoft Dynamics CRM 2013
原始 KB 編號: 3088205

徵兆

當您嘗試將 Microsoft Dynamics CRM for Office Outlook 與內部部署 CRM 組織連線,且未在宣告式驗證 URL 中包含組織名稱時,您會收到下列錯誤訊息:

「無法連線到 Microsoft Dynamics CRM 伺服器,因為我們無法驗證您的認證。

請檢查您的連線,或連絡系統管理員以取得更多協助。」

原因

Microsoft Dynamics CRM for Office Outlook 無法驗證您,因為組織名稱未包含在 URL 中。

解決方法

在設定 Microsoft Dynamics CRM for Office Outlook 用戶端時,提供組織名稱作為宣告式驗證 URL 的一部分。

範例 URL 格式: https://<crmservername>.<domain>.<domainsuffix>/<orgname>
範例 URL: https://crmserver.contoso.com/contoso

注意

如果您的 Microsoft Dynamics CRM 組織設定為因特網面向部署 (IFD),您也可以透過包含組織名稱的 IFD URL 進行存取:

範例 IFD URL 格式: https://<orgname>.<domain>.<domainsuffix>
範例 IFD URL: https://contoso.contoso.com

其他相關資訊

當您選取 [詳細數據] 時,記錄檔中也會顯示下列其他資訊, 也可供使用:

存取遭拒。

伺服器堆疊追蹤:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage 方法Call, ProxyOperationRuntime 作業)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage 訊息)

在 [0] 重新擲回例外狀況:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Delegate 方法)
at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider'1.RetrieveUserCredentialsAndSignIn(Control parentWindow, Boolean retryOnError, IClientOrganizationContext context)
at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider'1.SignIn(AuthUIMode uiMode, IClientOrganizationContext context, Control parentWindow, Boolean retryOnError)
at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo'1.DeploymentInfo'1.LoadOrganizationsInternal(AuthUIMode uiMode, Control parentWindow)
at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo'1.DeploymentInfo'1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow, IClientAuthProvider'1 authenticatedProvider)
at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo'1.InternalLoadOrganizations(DataCollection'1 orgs, AuthUIMode uiMode, Control parentWindow)