Błąd "Adres serwera (ADRES URL) jest nieprawidłowy" podczas konfigurowania Microsoft Dynamics CRM dla programu Outlook

Ten artykuł zawiera rozwiązanie problemu występującego podczas próby nawiązania połączenia Microsoft Dynamics CRM dla programu Outlook z wystąpieniem Microsoft Dynamics CRM Online.

Dotyczy: Microsoft Dynamics CRM 2015 r., Microsoft Dynamics CRM Online
Oryginalny numer KB: 3048775

Symptomy

Próbujesz nawiązać połączenie Microsoft Dynamics CRM dla programu Outlook z wystąpieniem Microsoft Dynamics CRM Online, ale napotkasz następujący komunikat o błędzie:

Adres serwera (adres URL) jest nieprawidłowy

Przyczyna

Microsoft Dynamics CRM dla programu Outlook próbuje nawiązać połączenie z Microsoft Dynamics CRM przy użyciu poświadczeń domeny.

Rozwiązanie

Jeśli chcesz uwierzytelnić się jako inne konto, musisz usunąć zaznaczenie pola wyboru Połącz automatycznie przy użyciu moich bieżących poświadczeń . Jeśli to pole wyboru nie jest widoczne, ponownie wybierz pozycję CRM Online z listy rozwijanej lub wpisz adres URL Microsoft Dynamics CRM Online. Możesz również skopiować i wkleić adres URL z przeglądarki internetowej.

Jeśli nadal występują problemy z łączeniem programu CRM for Outlook z organizacją usługi CRM Online, dostępne jest narzędzie diagnostyczne ułatwiające zdiagnozowanie problemu: CRM for Outlook Configuration Diagnostic (Diagnostyka konfiguracji programu Outlook).

Więcej informacji

Jeśli klikniesz pozycję Szczegóły lub wyświetlisz plik dziennika, zostanie wyświetlony następujący błąd:

Client configuration failed with the exception : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=https://login.windows.net/common/oauth2/authorize'.
Server stack trace:
 at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
 at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
 at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
 at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
 at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
 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 methodCall, ProxyOperationRuntime operation)
 at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
 at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
 at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
 at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
 at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
 at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.Execute(DiscoveryRequest request)
 at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.RequestOrganizationDetailsFromDiscovery(IDiscoveryService proxy, EndpointAccessType endpointAccessType)
 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.LoadFederatedOrganizations(AuthUIMode uiMode, Control parentWindow)
 at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadFederatedOrgs(DataCollection`1 orgs)
 at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
 at Microsoft.Crm.Application.Outlook.Config.ClientConfig.AddDeployment(DeploymentsDeployment[] deployments, AuthUIMode uiMode)
 at Microsoft.Crm.Application.Outlook.Config.ClientConfig.AddDeployment_ReducedUI()
 at Microsoft.Crm.Application.Outlook.Config.ClientConfig.Run(Boolean runInsideOutlook)