web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

outlook Client Authentication on the Dynamics CRM Server 2016

(0) ShareShare
ReportReport
Posted on by

Hello,

if I try to identify myself on a CRM server with a client outlook, I get this error

"Unable to connect to the Microsoft Dynamics CRM server,
because we can not authenticate your credentials.
Check your connection or contact your administrator to get help"

help me please to solve this problem

*This post is locked for comments

I have the same question (0)
  • pavanmanideep Profile Picture
    1,331 on at

    Hi,

    Try to troubleshoot with the below steps...if could be due to of the below reasons.

    Problem #1: The username and password combination is incorrect.

    Solution #1: Through a web browser, attempt to login to CRM. If the login fails, work with your system administrator to obtain a proper login.

    Problem #2: The system clock is incorrect.

    Explanation: Having a system clock off by as little as five minutes will create authentication problems, and the Outlook Client will not be able to connect. Both the date and the time needs to match exactly according to the currently set time zone.

    Solution #2: Make sure both the workstation as well as the domain controller it is connected to have the correct time and date.

    Problem #3: This is a Windows 8 environment, and Windows Identify Foundation is turned off.

    Solution #3: Turn on Windows Identity Foundation by going to the control panel, uninstall a program, turn windows features on or off. Scroll all the way down, and verify if Windows Identity Foundation has been checked.

    Problem #4: The Outlook Client is using incorrect cached credentials to automatically log you in to the CRM organization.

    Solution #4: You can clear the credentials by going to the control panel -> credential manager. Under Windows credentials, and generic credentials, remove any entry that starts with Microsoft_CRM.

    Problem #5: The version of the Outlook Client is incompatible with the CRM organization.

    Solution #5: Verify that you have the latest rollup version installed. If necessary, reinstall the Outlook Client from download.microsoft.com, and then apply the latest rollup.

    Problem #6: The environment is CRM Online, but the invitation has not been accepted.

    Solution #6: Login to CRM from the web browser, and accept the invitation.

    Problem #7: There is a problem with Windows Live Essentials Sign-In Assistant, or Microsoft Online Services Sign-In Assistant.

    Solution #7: Go into the control panel, into the installed programs list, and run a repair on the mentioned programs. If necessary, uninstall, and then download from http://download.microsoft.com.

    Problem #8: The environment is CRM Online, but the Outlook Client is not able to verify it.

    Solution #8: Instead of typing the full URL of your dynamics.com CRM organization, choose “CRM Online” for the drop down box. Conversely, you may try it the other way as well.

    Problem #9: The environment is CRM Online with Live-ID, but the Windows Live-ID contains a password with special characters or is longer than 16 characters.

    Solution #9: Change your Live-ID password to be in compliance.

    Reference:crmbook.powerobjects.com/.../dynamics-crm-outlook-client-troubleshooting

  • Community Member Profile Picture
    on at

    I have not found a solution I have all the necessary checks

    except the

    for problem7 I have not seen the program Windows Live Essentials Sign-In Assistant installed on the computer that exécure customer CRM

  • pavanmanideep Profile Picture
    1,331 on at

    Could you please post the configuration log for the following error ...

  • Community Member Profile Picture
    on at

    18:02:05|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize

    18:02:05|   Info| Client Configuration Wizard Version      : 8.0.0001.0079

    18:02:05|   Info| Client Configuration Wizard LanguageID   : 1036

    18:02:05|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized

    18:02:05|   Info| Query all rows in profile table

    18:02:05|   Info| Outlook is  initialized

    18:02:05|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized

    18:02:05|   Info| Client Configuration Wizard Running Mode : Normal

    18:02:06|   Info| Configuration file Type : OnPremise.

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAllCRMOrgsInOutlookProfile

    18:02:06|   Info| Logon mapi store

    18:02:06|   Info| Logon admin service

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds

    18:02:06|   Info| Query all rows in msg service table

    18:02:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded

    18:02:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded

    18:02:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo

    18:02:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm_Shown

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.AddServer

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm

    18:02:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm

    18:02:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData

    18:02:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls

    18:02:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls

    18:02:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData

    18:02:21|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click

    18:02:21|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection

    18:02:21|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection

    18:02:21|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click

    18:02:21|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics

    18:02:21|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)

    18:02:21|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal

    18:02:21|  Error| Unhandled exception while running Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic. This diagnostic will be skipped.System.Security.Authentication.AuthenticationException: Le nom d’utilisateur ou le mot de passe est incorrect.

    ---> System.DirectoryServices.DirectoryServicesCOMException: Le nom d’utilisateur ou le mot de passe est incorrect.

      à System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

      à System.DirectoryServices.DirectoryEntry.Bind()

      à System.DirectoryServices.DirectoryEntry.get_AdsObject()

      à System.DirectoryServices.PropertyValueCollection.PopulateList()

      à System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)

      à System.DirectoryServices.PropertyCollection.get_Item(String propertyName)

      à System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)

      --- Fin de la trace de la pile d'exception interne ---

      à System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)

      à System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)

      à Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal()

      à Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticCommandBase.Execute()

    18:02:21|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)

    18:02:21|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics

    18:02:21|   Info| Attempting {0} ({1}) org service connection.| IFD, https

    18:02:28|   Info| Error connecting to URL: {0} Exception: {1}| dynamicscrm2016v1.hpc.local/.../Organization.svc, Microsoft.Crm.CrmException: Authentication failed

      à System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)

      à System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)

      à System.Windows.Forms.Control.Invoke(Delegate method)

      à Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.RetrieveUserCredentialsAndSignIn(Control parentWindow, Boolean retryOnError, IClientOrganizationContext context)

      à Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.SignIn(AuthUIMode uiMode, IClientOrganizationContext context, Control parentWindow, Boolean retryOnError)

      à Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizationsInternal(AuthUIMode uiMode, Control parentWindow)

      à Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow, IClientAuthProvider`1 authenticatedProvider)

      à Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.InternalLoadOrganizations(DataCollection`1 orgs, AuthUIMode uiMode, Control parentWindow)

    18:02:29|  Error| Dynamic Help Link: go.microsoft.com/fwlink;lcid=40c&cv=8.0.1.79&opsys=6.2.9200.0&client=Outlook&error=Microsoft.Crm.CrmException%3a80044311&method=MarshaledInvoke

  • Suggested answer
    pavanmanideep Profile Picture
    1,331 on at

    Verified,

    18:02:21|  Error| Unhandled exception while running Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic. This diagnostic will be skipped.System.Security.Authentication.AuthenticationException: Le nom d’utilisateur ou le mot de passe est incorrect.

    With reference to this log, it says invalid username/password in English, could you check if you were using appropriate admin credentials to connect.

  • Community Member Profile Picture
    on at

    excuse me I had not put the correct password on the configuration log that I published.

    if I put the correct password here is the error I get

    09:03:29| Info| Error connecting to URL: {0} Exception: {1}| dynamicscrm2016v1.hpc.local/.../Organization.svc, Microsoft.Crm.CrmException: Authentication failed
    à System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    à System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    à System.Windows.Forms.Control.Invoke(Delegate method)
    à Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.RetrieveUserCredentialsAndSignIn(Control parentWindow, Boolean retryOnError, IClientOrganizationContext context)
    à Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.SignIn(AuthUIMode uiMode, IClientOrganizationContext context, Control parentWindow, Boolean retryOnError)
    à Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizationsInternal(AuthUIMode uiMode, Control parentWindow)
    à Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow, IClientAuthProvider`1 authenticatedProvider)
    à Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.InternalLoadOrganizations(DataCollection`1 orgs, AuthUIMode uiMode, Control parentWindow)
    09:03:29| Error| Dynamic Help Link: go.microsoft.com/fwlink;lcid=40c&cv=8.0.1.79&opsys=6.2.9200.0&client=Outlook&error=Microsoft.Crm.CrmException%3a80044311&method=MarshaledInvoke

  • Suggested answer
    pavanmanideep Profile Picture
    1,331 on at

    For a deeper investigation, kindly request you to open a support case with Microsoft from here: https://portal.office.com

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans