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

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)

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. 
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 Outlook which does not rely on the Microsoft Online Services Sign-in Assistant.
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
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 3089686 - Last Review: 08/18/2015 14:34:00 - Revision: 2.0

Dynamics CRM Online, Microsoft Dynamics CRM for Microsoft Office Outlook

  • kbmbsmigrate kbsurveynew KB3089686
Feedback