Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Tracking doesn't work in Dynamics 365 CRM Online with Pop3 email

(0) ShareShare
ReportReport
Posted on by

My emails are not being synchronized on CRM Online. I tried to track the email and set regarding to any CRM record, but the emails doesn't shows in the CRM although it shows that email is regarding the CRM record. 

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Tracking doesn't work in Dynamics 365 CRM Online with Pop3 email

    Thanks, but this I already checked and It is installed

  • Suggested answer
    Andreas Cieslik Profile Picture
    9,267 on at
    RE: Tracking doesn't work in Dynamics 365 CRM Online with Pop3 email

    It has a problem with the assembly reference to 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0'

    Have activated Windows Identity Foundation on your machine:

    1.)Go to windows features

    2.)Look for Windows Identity Foundation 3.5

    3.)Enable it

    4.) Try again.

  • Community Member Profile Picture
    on at
    RE: Tracking doesn't work in Dynamics 365 CRM Online with Pop3 email

    Please see the below trace from Outlook connector for CRM

    ----------------------------------------

    12:45:35| Info| === Microsoft Dynamics 365 for Outlook Configuration Wizard logging started: 7/31/2017 12:45:35 PM ===
    12:45:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize
    12:45:35| Info| Client Configuration Wizard Version : 8.2.0001.0176
    12:45:35| Info| Client Configuration Wizard LanguageID : 1033
    12:45:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    12:45:35| Info| Query all rows in profile table
    12:45:35| Info| Outlook is initialized
    12:45:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    12:45:35| Info| Client Configuration Wizard Running Mode : ReducedUI
    12:45:36|Warning| Client configuration failed with the exception : Cannot start the Microsoft Dynamics 365 for Outlook Configuration Wizard because the configuration file C:\Program Files\Microsoft Dynamics CRM\Default_Client_Config.xml is not valid. Contact your system administrator. at Microsoft.Crm.Application.Outlook.Config.CommandLineArgs.ParseConfigFile(String configFileName, Deployments& deployments)
    at Microsoft.Crm.Application.Outlook.Config.ClientConfig.AddDeployment_ReducedUI()
    at Microsoft.Crm.Application.Outlook.Config.ClientConfig.Run(Boolean runInsideOutlook)
    12:45:36| Info| Configuration file Type : OnPremise.
    12:45:36|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    12:45:36|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAllCRMOrgsInOutlookProfile
    12:45:36| Info| Logon mapi store
    12:45:36| Info| Logon admin service
    12:45:36|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    12:45:36| Info| Query all rows in msg service table
    12:45:36|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    12:45:36|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded
    12:45:36|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded
    12:45:36|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    12:45:36|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm..ctor
    12:45:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm..ctor
    12:45:45|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    12:45:45|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    12:45:46|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    12:45:46|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    12:49:20|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    12:49:20|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    12:49:21|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    12:49:21|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    12:49:22|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    12:49:22|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    12:49:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    12:49:46| Info| A system error occurred when attempted to retreieve date/time from msdynpro.com. ErrorCode: msdynpro.com
    12:49:47| Info| Current UTC date/time from windows time server on the internet: 07/31/2017 07:49:46
    12:49:47| Info| Client UTC Date/Time: 07/31/2017 07:49:47
    12:49:47| Info| Difference (in minutes) between client time and actual time: 0.00931943666666667
    12:49:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    12:49:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    12:49:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    12:49:55| Info| Error connecting to URL: xxxx.crm4.dynamics.com/.../Organization.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()

    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:49:55| Error| Exception : Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    12:49:56| Error| Dynamic Help Link: go.microsoft.com/fwlink;lcid=409&cv=8.0.0.1088&opsys=6.3.9600.0&cid=71416a69-4567-43b0-a088-8f2d15c3a9ac&client=Outlook&error=System.IO.FileLoadException%3a80131040&method=LoadOrganizations&st= at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)&orgType=CRM Online
    12:50:49|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    12:50:49|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    12:50:49|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    12:50:49|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    12:50:49|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    12:50:49|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    12:50:49|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    12:51:10| Info| A system error occurred when attempted to retreieve date/time from msdynpro.com. ErrorCode: msdynpro.com
    12:51:22| Error| Unhandled exception while running Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic. This diagnostic will be skipped. System.Net.Sockets.SocketException (0x80004005): No such host is known
    at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
    at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
    at Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.GetTimeFromNtpServer()
    at Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal(TelemetryContextType telemetryContext)
    at Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticCommandBase.Execute(TelemetryContextType telemetryContext)
    12:51:22|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    12:51:22|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    12:51:22| Info| Error connecting to URL: xxxxx.crm4.dynamics.com/.../Organization.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:51:22| Error| Exception : Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    12:51:22| Error| Dynamic Help Link: go.microsoft.com/fwlink;lcid=409&cv=8.0.0.1088&opsys=6.3.9600.0&cid=71416a69-4567-43b0-a088-8f2d15c3a9ac&client=Outlook&error=System.IO.FileLoadException%3a80131040&method=LoadOrganizations&st= at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)&orgType=CRM Online
    12:51:44|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    12:51:44|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    12:51:46|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    12:51:46|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    12:51:46|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    12:51:46|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    12:51:46|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    12:52:07| Info| A system error occurred when attempted to retreieve date/time from msdynpro.com. ErrorCode: msdynpro.com
    12:52:08| Info| Current UTC date/time from windows time server on the internet: 07/31/2017 07:52:07
    12:52:08| Info| Client UTC Date/Time: 07/31/2017 07:52:08
    12:52:08| Info| Difference (in minutes) between client time and actual time: 0.00846826833333333
    12:52:08|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    12:52:08|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    12:52:08|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    12:52:08| Info| Error connecting to URL: disco.crm.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:08| Info| Error connecting to URL: disco.crm4.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:08| Info| Error connecting to URL: disco.crm5.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:08| Info| Error connecting to URL: disco.crm2.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:08| Info| Error connecting to URL: disco.crm9.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:08| Info| Error connecting to URL: disco.crm6.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:08| Info| Error connecting to URL: disco.crm7.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:08| Info| Error connecting to URL: disco.crm3.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:08| Info| Error connecting to URL: disco.crm8.dynamics.com/.../Discovery.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:52:09| Error| Exception : Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsLogic(Boolean forceUI, String deploymentUrl, Boolean tryWIA)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    12:52:09| Error| Dynamic Help Link: go.microsoft.com/fwlink;lcid=409&cv=8.0.0.1088&opsys=6.3.9600.0&cid=71416a69-4567-43b0-a088-8f2d15c3a9ac&client=Outlook&error=System.IO.FileLoadException%3a80131040&method=LoadOrganizations&st= at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsLogic(Boolean forceUI, String deploymentUrl, Boolean tryWIA)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)&orgType=CRM On-Premise
    12:53:45|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    12:53:45|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    12:53:45|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    12:53:45|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    12:53:45|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    12:53:45|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    12:53:45|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    12:54:07| Info| A system error occurred when attempted to retreieve date/time from msdynpro.com. ErrorCode: msdynpro.com
    12:54:07| Info| Current UTC date/time from windows time server on the internet: 07/31/2017 07:54:06
    12:54:07| Info| Client UTC Date/Time: 07/31/2017 07:54:07
    12:54:07| Info| Difference (in minutes) between client time and actual time: 0.0110064733333333
    12:54:07|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    12:54:07|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    12:54:07|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    12:54:07| Info| Error connecting to URL: xxxxx.crm4.dynamics.com/.../Organization.svc Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthority(Uri webEndPointForService)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverOAuthUsingBearerChallenge(Uri webEndPointForService, Uri webEndPoint)
    at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()
    at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    12:54:07| Error| Exception : Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    12:54:07| Error| Dynamic Help Link: go.microsoft.com/fwlink;lcid=409&cv=8.0.0.1088&opsys=6.3.9600.0&cid=71416a69-4567-43b0-a088-8f2d15c3a9ac&client=Outlook&error=System.IO.FileLoadException%3a80131040&method=LoadOrganizations&st= at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)
    at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)&orgType=CRM Online

  • Community Member Profile Picture
    on at
    RE: Tracking doesn't work in Dynamics 365 CRM Online with Pop3 email

    Tasks and calendars are working perfect. The only thing causing problem is tracking and synching outlook emails in CRM. I have checked these filters

  • Andreas Cieslik Profile Picture
    9,267 on at
    RE: Tracking doesn't work in Dynamics 365 CRM Online with Pop3 email

    Have you configured the sync filters in Outlook?

    crmbook.powerobjects.com/.../synchronize-settings

  • Community Member Profile Picture
    on at
    RE: Tracking doesn't work in Dynamics 365 CRM Online with Pop3 email

    Thanks Andreas,

    I followed the same steps and have almost all the same configurations. Here is the detail of my environment

    1. Using Dynamics 365 for Sales and Installed the latest  connector for Dynamics 365
    2. Using the Gmail as the email server
    3. In outlook I have configured the emails for some other domain mails, and i want them to be synched with CRM using Outlook connector
    4. When I click on track and set regarding, it doesnt give any error. I click synchronize records and no error. But the records are not there in the CRM. Although they showed up as being tracked and set regarding to a CRM record in Outlook.

    I want to know weather using the different email address in outlook and using different credentials for CRM connector will cause some issue or not.

    Secondly there is no error, but still mails are not synchronized on CRM. 

    Waiting for response

  • Andreas Cieslik Profile Picture
    9,267 on at
    RE: Tracking doesn't work in Dynamics 365 CRM Online with Pop3 email

    Try to follow up on this guide to correctly setup your System:

    technet.microsoft.com/.../mt622063.aspx

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,863 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans