Office Outlook 用のMicrosoft Dynamics CRMに接続しようとすると、アクセスが拒否されるエラー

この記事では、Office Outlook 用にMicrosoft Dynamics CRM接続しようとすると発生するエラーの解決策について説明します。

適用対象: Microsoft Dynamics CRM 2015、Microsoft Dynamics CRM 2013
元の KB 番号: 3088205

現象

Office Outlook Microsoft Dynamics CRMをオンプレミス CRM organizationに接続しようとしたときに、要求ベースの認証 URL にorganization名を含めないと、次のエラー メッセージが表示されます。

"資格情報を認証できないため、Microsoft Dynamics CRM サーバーに接続できません。

接続を確認するか、管理者に問い合わせて詳細を確認してください。

原因

organization名が URL に含まれなかったため、Office Outlook のMicrosoft Dynamics CRMで認証できませんでした。

解決方法

Office Outlook クライアントのMicrosoft Dynamics CRMを構成するときに、要求ベースの認証 URL の一部としてorganization名を指定します。

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

注:

Microsoft Dynamics CRM organizationインターネット接続展開 (IFD) として構成されている場合は、organization名を含む 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 操作, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime 操作, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime 操作)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage メッセージ)

[0] の例外再スロー:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate メソッド, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate メソッド, 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)
を Microsoft.Crm.Application.Outlook.Config します。DeploymentInfo'1.DeploymentInfo'1.LoadOrganizationsInternal(AuthUIMode uiMode, Control parentWindow)
を Microsoft.Crm.Application.Outlook.Config します。DeploymentInfo'1.DeploymentInfo'1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow, IClientAuthProvider'1 authenticatedProvider)
を Microsoft.Crm.Application.Outlook.Config します。DeploymentsInfo'1.InternalLoadOrganizations(DataCollection'1 orgs, AuthUIMode uiMode, Control parentWindow)