Dynamics CRM Support Blog
Problems configuring the CRM Outlook client? Use the wizard!
CRM Resource Center
FAQ About Technical SupportOnline | On-Premise
FAQ About Billing
Implementation Guide
Microsoft Dynamics CRM Developer Center and SDK
Hi,
I am unable to conntect to CRM online using the outlook connector in Outlook 2010 since I re-installed my OS (Win 7 Ultimate 32 Bit)
The error i am getting is "unable to authenticate"
This is the log for trying to configure the outllok addin
23:58:08| Info| === Microsoft Dynamics CRM for Outlook Configuration Wizard logging started: 21/12/2012 23:58:06 ===23:58:08|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize23:58:08| Info| Client Configuration Wizard Version : 5.0.9690.199223:58:08| Info| Client Configuration Wizard LanguageID : 103323:58:08|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized23:58:09| Info| Query all rows in profile table23:58:09| Info| Outlook is initialized23:58:09|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized23:58:09| Info| Client Configuration Wizard Running Mode : Normal23:58:12| Info| Configuration file Type : OnPremise.23:58:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm23:58:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo23:58:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAvailableServiceIds23:58:15| Info| Logon mapi store23:58:15| Info| Logon admin service23:58:15|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds23:58:15| Info| Query all rows in msg service table23:58:15| Info| Adding service id : {9c720efd-c2c2-4a95-886e-63afa7bb5b72}23:58:15| Info| Adding service id : {4894a328-3110-4265-a1e6-6f7941f5fbd4}23:58:15| Info| Adding service id : {da09d781-b7e3-4cc3-a7a6-7c82897c2afe}23:58:15| Info| Adding service id : {e5a3fb8c-538e-4fc0-a057-e7a15cd69793}23:58:15| Info| Adding service id : {9a8d355b-0e6d-4b2f-adc5-d3a980dcfb24}23:58:15| Info| Adding service id : {ecef8506-8212-419e-b5a2-606a5c7758bb}23:58:15| Info| Adding service id : {dfad20f0-b9c0-431f-9118-baf3ffaf50e1}23:58:15| Info| Adding service id : {43c0599b-a966-4040-82ee-1bcdc50f86ad}23:58:15| Info| Adding service id : {82ee84da-2be3-4c0e-83cf-55cb17303d3a}23:58:15| Info| Adding service id : {532925b4-80a8-429b-b42a-9d899ff85098}23:58:15|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds23:58:15|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.RemoveOrphanDatastoreIfNeeded23:58:16| Info| Logon mapi store23:58:16| Info| Logon admin service23:58:16| Info| Query crm msg services in msg service table.23:58:16|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.RemoveOrphanDatastoreIfNeeded23:58:16|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo23:58:16|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm23:58:16|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm_Shown23:58:16|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.AddServer23:58:16|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm23:58:16|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm23:58:16|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData23:58:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls23:58:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls23:58:17|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData23:58:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._testConnectionButton_Click23:58:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection23:58:34|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection23:58:34|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._testConnectionButton_Click23:59:47| Error| Error connecting to URL: https://disco.crm.dynamics.com/XRMServices/2011/Discovery.svc Exception: Microsoft.Crm.CrmException: Logon failed because credentials are invalid ---> Microsoft.Crm.Passport.IdCrl.IdCrlException: GetAuthState() - Request Status: at Microsoft.Crm.Passport.IdCrl.OnlineServicesFederationLogOnManager.LogonOrgId(String policy, String partner, LOGON_FLAG logonFlag) at Microsoft.Crm.Passport.IdCrl.OnlineServicesFederationLogOnManager.Logon(String userName, String password, String partner, String policy, String& memberName) at Microsoft.Crm.Outlook.ClientAuth.PassportAuthProvider`1.SignIn() --- End of inner exception stack trace --- 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)23:59:47| Error| Error connecting to URL: https://dev.crm.dynamics.com/XRMServices/2011/Discovery.svc Exception: Microsoft.Crm.Passport.IdCrl.IdCrlException: InitializeEx() at Microsoft.Crm.Passport.IdCrl.FederationLogOnManager.Initialize(String environment) 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)00:00:02| Error| Error connecting to URL: https://disco.crm.dynamics.com/XRMServices/2011/Discovery.svc Exception: Microsoft.Crm.Outlook.ClientAuth.CrmClientAuthException: Authentication was canceled. at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.RetrieveUserCredentialsAndSignIn(Uri endPoint, Credential credentials, Form parentWindow, Boolean retryOnError, IClientOrganizationContext context) 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)00:00:02| Error| Exception : Authentication was canceled. at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow) at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow) at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizations(Boolean forceUI) at Microsoft.Crm.Application.Outlook.Config.ServerForm.<InitializeBackgroundWorkers>b__0(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)00:00:05|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.MainForm.AddServer00:00:05|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm_Shown00:00:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Terminate00:00:06| Info| Exit code: Default00:00:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Terminate00:00:06| Info| === Microsoft Dynamics CRM for Outlook Configuration Wizard logging stopped: 22/12/2012 00:00:06 ===
My username password works fine when connecting via IE 9
I have also had issues applying a recent update to CRM via WU.today I un-installed the addon using the control panel add/remove programs, rebooted and re-installed a fresh copy of the download.
Thanks,
Rob
Hello Rob,
Please confirm the following:
> When you are getting the above error message? Is it failing while configuration (when it showa a Green status bar?
>Can you try configuring the CRM 2011 Outlook client on the same system using login information to make sure that's it not just happening with your account?
> Uninstallation of the CRM 2011 Outlook client has already been done by you , can you also make sure that passwords are not cached locally into the system where you are facing the issue
Mohammad
I had the same problem, which was driving me nuts, but this article accurately describes how to solve the problem. Hopefully it should resolve your issues:
blogs.msdn.com/.../crm-for-outlook-fails-to-configure-with-dynamics-crm-online.aspx
Try method mentioned in Option2
Check your time and date settings. Sometimes this error occurs when the time of the server and client is not the same.
Here is a suggested link for you that might be helpful in this regard:
support.microsoft.com/.../2498892
M.Adeel