Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"Cannot connect to Microsoft Dynamics CRM server" error occurs when attempting to connect Microsoft Dynamics CRM 2013 for Microsoft Office Outlook to CRM Online


View products that this article applies to.

Symptoms

When you attempt to connect Microsoft Dynamics CRM 2013 for Microsoft Office Outlook (Outlook Client) to a CRM Online organization, you encounter the following error:

"Cannot connect to Microsoft Dynamics CRM server because we cannot authenticate your credentials. Check your connection or contact your administrator for more help."

When you click Details, you see the following additional details:

  Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at Microsoft.Crm.Passport.IdCrl.FederationLogOnManager..ctor(String environment)
   at Microsoft.Crm.Outlook.ClientAuth.PassportAuthProvider`1.GetLogonManager()
   at Microsoft.Crm.Outlook.ClientAuth.PassportAuthProvider`1.SignIn()
   at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError)
   at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow, Credential credentials)
   at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow)

↑ Back to the top


Cause

The Microsoft Online Services Sign-in Assistant is not installed or the correct username and password are not provided. If the issue is caused by incorrect username or password, it could be that the credentials are cached in the Windows Credential Manager. 

↑ Back to the top


Resolution

If the Microsoft Online Services Sign-in Assistant is not installed, install it using the appropriate link below. After the install, close and reopen the Microsoft Dynamics CRM for Microsoft Office Outlook Configuration Wizard.

64-bit
http://g.microsoftonline.com/0BX00en/501

32-bit
http://g.microsoftonline.com/0BX00en/500

If the Microsoft Online Services Sign-in Assistant is already installed and you still encounter this error, click OK and you should see a prompt for your username and password. If the username and password are already populated, it indicates the credentials were cached. Reenter the correct username and password to make sure incorrect credentials are not being used. 

NOTES:

To view if credentials are stored in the Windows Credential Manager, click the Start menu in Windows and type Credential Manager. In the Generic Credentials area you may see credentials that start with Microsoft_CRM. If you have changed your password or are using a different user account, these stored credentials may not be correct. These credentials can be removed which will prevent the Microsoft Dynamics CRM for Microsoft Office Outlook from using them when you try to connect.

If your CRM Online organization has already been updated to the 2015 Update (7.0 or later), you can use Microsoft Dynamics CRM 2015 for Microsoft Office Outlookwhich does not rely on the Microsoft Online Services Sign-in Assistant.

↑ Back to the top


More Information

If the Microsoft Online Services Sign-in Assistant is not installed, the log file contains the following error:

19:23:00|  Error| Error connecting to URL: https://disco.crm.dynamics.com/XRMServices/2011/Discovery.svc Exception: System.DllNotFoundException: The Microsoft Online Services Sign-in Assistant is not installed.  32-bit: http://g.microsoftonline.com/0BX00en/500 64-bit: http://g.microsoftonline.com/0BX00en/501

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 3089686
Revision : 1
Created on : 1/7/2017
Published on : 8/18/2015
Exists online : False
Views : 283