·
1 min read

Reconfigure Microsoft Dynamics Connector for Microsoft Dynamics 365: Update the SDK to stop the reference to ACS

Problem

With the deprecation of Azure Access Control Service (ACS), you should modify the SDK authentication code by removing all references to ACS. Effective from versions Microsoft Dynamics CRM Online 2016 Update 1 (v8.1.1) and Microsoft Dynamics 365 (v8.2), we removed Live ID support and ACS dependencies on the server-side. It is required to update the references in all client side components by updating the SDK.

Impacted Version

Verify the <Connector Installation Directory>\Adapters\ Microsoft.Dynamics.Integration.Adapters.Crm2011 directory and right click and select properties on Microsoft.Xrm.Sdk.DLL. Click on Details section. If the File Version shows 8.0 or lower, then you need to perform the workaround.

Workaround

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 7.0.0.0 to version 8.0.0.0 by updating or adding the following xml tags to these connector configuration files; these files can be found in the <Connector installation directory>

  • ConnectorServiceHost.exe.config
  • Microsoft.Dynamics.Integration.Adapters.Crm2011.Configuration.exe.config
  • Microsoft.Dynamics.Integration.Client.exe.config
<configuration>   
    <runtime>     
       <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.Xrm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" />         
         <bindingRedirect oldVersion="7.0.0.0" newVersion="8.0.0.0"/>       
       </dependentAssembly>       
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.Crm.Sdk.Proxy" publicKeyToken="31bf3856ad364e35" culture="neutral" />
         <bindingRedirect oldVersion="7.0.0.0" newVersion="8.0.0.0"/>       
       </dependentAssembly>     
       </assemblyBinding>   
    </runtime> 
</configuration>

6. Shutdown all Connector applications

7. Restart the Connector Service

8. Restart Connector Client application

9. Attempt CRM configuration again. You should able to see the list of available entities when configuring organizations.