Add a connection string for Microsoft Dynamics

Version:

Sitecore Connect connects to a Microsoft Dynamics instance using a connection string.

To add a connection string for Microsoft Dynamics:

  • Add the connection string to the ConnectionStrings.config file on your Sitecore server.

    The following is an example of an OAuth authentication type connection string:

    <add name="mycrm" connectionString = "AuthType=OAuth; Url=https://<your-organization-name>.crm.dynamics.com;Username=<your-user-id>;Password=<your-password>; AppId=51f81489-12ee-4a9e-aaae-a2591f45987d; RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97;LoginPrompt=False" />
Note

Sitecore Connect uses the connection strings in Microsoft XRM tooling to connect to Microsoft Dynamics. You must use a connection string that is compatible with this tooling. Your Microsoft Dynamics administrator can provide the correct connection string.

If you have suggestions for improving this article, let us know!