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.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)
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.
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.
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.
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.
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