The MS Dynamics 365 Synapse enables data synchronization between MS Dynamics 365 objects and Syncari entities using the MS Dynamics 365 API. After the Synapse is Authenticated, a user can Activate the MS Dynamics 365 Synapse, which enables Syncari to replicate the schema of MS Dynamics 365 and make it available within the Unified Data Model. Using the Sync Studio, a user can map MS Dynamics 365 objects to Syncari entities, and MS Dynamics 365 fields to Syncari fields. To accelerate the setup and configuration of these pipelines, Syncari provides a default mapping for the standard objects and fields in MS Dynamics 365.
If your Dynamics security requires you to whitelist an IP you can find that here.
MS Dynamics 365 Setup
Prerequisites:
- Administrator permissions to access MS Dynamics 365 and Azure Active Directory
Gather Synapse Information
The following information is required to setup the MS Dynamics Synapse:
- Dynamics CRM Organization URL (e.g. https://<organization>.crm.dynamics.com)
- Endpoint URL (e.g. https://login.microsoftonline.com/<Directory (tenant) ID>)
- Client ID
- Client Secret
Capture your Dynamics CRM Organization URL
-
- Login to Microsoft Dynamics 365
- Copy/Save your Dynamics CRM Organization URL
* Leave this browser tab open
Create the Syncari Integration App in Azure Active Directory
- Click "Apps"
- Click "Admin"
- Click "Azure Active Directory"
- Click "Azure Active Directory"
- Click "App registrations"
- Click "New Registration"
- Name your application: "Syncari Integration"
- Select the appropriate account type: (minimum requirement: Single tenant)
- Click "Register"
- Copy the "Application ID"
*Leave this browser tab open
You will use this "Application ID" when you create an Application User in Microsoft Dynamics 365
Create an Application User in Microsoft Dynamics 365
- Click the Setting "Gear" in Microsoft Dynamics 365
- Click "Advanced Settings"
- Click the Settings menu dropdown
- Click "Security"
- Click "Users"
- Click "Enabled Users" menu
- Click "Application Users"
- Click "New"
- Paste the "Application ID" for your Syncari Integration App
- Click "Save"
Finish configuring the Syncari Integration App in Azure Active Directory
- Click "API Permissions"
- Click "Add a permission"
- Select "Dynamics CRM"
- Select "user_impersonation"
- Click "Add permission"
- Click "Certificates & secrets"
- Click "New client secret"
- Select an expiration and Click "Add"
- Copy/Save the "Client Secret" value
- Click "Authentication"
- Click "Add a platform"
- Click "Web"
Enable change tracking to control data synchronization
Follow the steps on this Microsoft document to enable change tracking on each entity: https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/dn946903(v=crm.8)
Enable change tracking for each Microsoft Dynamics Entity that will be synced into Syncari (Accounts, Contacts, Leads etc.). This configuration is needed so that Syncari can record when records are deleted in Dynamics.
Nice work! You are ready to proceed to the MS Dynamics Synapse Setup in Syncari.
Synapse Setup
Step 1: Start by logging in to your Syncari subscription
- Navigate to Synapses
- Find MS Dynamics 365 in the Synapse Library
- Drag the MS Dynamics 365 Synapse to the canvas
Step 2: Configure your Synapse parameters
- Enter
[Synapse Name]
- Enter
[Endpoint URL]
- Enter
[Dynamics CRM Organization URL]
- Click "Next"
Step 3: Define your authentication parameters and generate the OAuth Redirect URL
- Enter
[Client ID]
- Enter
[Client Secret]
- Click "Generate"
- Click "Next"
Step 4: Update your Syncari Integration App in Microsoft Azure
- Click "Copy"
- Navigate back to your Azure Active Directory admin center browser tab
- Paste the OAuth Redirect URL from your Synapse setup into your Syncari Integration App
- Click "Configure"
Step 5: Authenticate your Synapse
- Click "Authenticate"
Follow the Microsoft pop-up window to complete the OAuth Authentication:
Note: If you receive an "Unauthorized" error message, you may need to "Grant admin consent for syncari.com in Microsoft Azure in your Syncari Integration App. Follow the steps on this Microsoft document: https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent#grant-admin-consent-in-app-registrations
Step 6: Activate your Synapse
- Click "Next"
- Click "Make Synapse Active"
- Click "Close"
Congratulations! You have completed the setup of MS Dynamics 365.
If you receive any errors message after clicking Authenticate, confirm each of the parameters in the previous steps are configured properly. If the error persists, contact one of our Onboarding and Support team members.