1 min read

Troubleshoot Microsoft Dynamics Connector for Microsoft Dynamics 365 configuration: Unhandled thread exception when configuring Dynamics 365 organizations


Users are receiving an unhandled thread exception when configuring Dynamics 365 organizations, instead of seeing the available entities. This issue is caused by a previous version of the Dynamics 365 SDK in the Connector installation.


With the latest release of Dynamics 365 you need to take the following steps to be able to connect to Connector for integrating data.

  1. Download the latest Dynamics 365 SDK.
  2. Before replacing the dlls in the next two steps you may want to make copies of them.
  3. Replace Microsoft.Crm.Sdk.Proxy.dll from the <Connector installation directory> with the dll of the same name found in the SDK installation.
  4. Replace Microsoft.Xrm.Sdk.dll from the <Connector installation directory>\Adapters\Microsoft.Dynamics.Integration.Adapters.Crm2011 directory with the dll of the same name found in the SDK installation.
  5. Redirect the dependent Xrm Sdk assemblies from version to version by updating or adding the following xml tags to these connector configuration files; these files can be found in the <Connector installation directory>:
    • exe.config
    • Dynamics.Integration.Adapters.Crm2011.Configuration.exe.config
    • Dynamics.Integration.Client.exe.config
   <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
     <assemblyIdentity name="Microsoft.Xrm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" />
     <bindingRedirect oldVersion="" newVersion=""/>
     <assemblyIdentity name="Microsoft.Crm.Sdk.Proxy" publicKeyToken="31bf3856ad364e35" culture="neutral" />
     <bindingRedirect oldVersion="" newVersion=""/>
  1. Shutdown all Connector applications
  2. Restart the Connector Service
  3. Restart Connector Client application
  4. Try to configure Dynamics 365 organizations again. You should not receive the error and should be able to see the list of available entities when configuring organizations.



– Microsoft Dynamics 365 Product Engineering Team