Connections and Licensing

Connection strings

Each Dynamics 365 connection needs to be configured in the Sitecore ConnectionStrings.config file.

<connectionStrings> <add name="MyDynamicsConnection" connectionString="S4D:domain=myorg.crm.dynamics.com;applicationid=abcdef12-abcd-abcd-abcd-abcdef1234567890;tenantid=abcdef12-abcd-abcd-abcd-abcdef1234567890;clientSecret=secret" /> </connectionStrings>

Connection strings must include the “S4D:” prefix and elements as follows.

Key

Description

Key

Description

domain

The fully-qualified domain name of the Dynamics 365 instance.

applicationid

Azure Active Directory app registration client id.

tenantid

Azure Active Directory app tenant id.

clientSecret

Azure Active Directory app client secret.

 

Licensing

To work against a production instance of Dynamics 365 an XML license file is required.

The license file should be placed in the same directory as the Sitecore license file, named S4DLicense.xml.