Skip to content

Connect data / Integrations

Dynamics

Connect Microsoft Dynamics 365 to report on opportunities, leads, quotes and activities. Resplendent signs in as an app registered in your Microsoft Entra tenant, using a client secret, and only reads from Dynamics.

You need:

  • An app registration in Microsoft Entra ID for your tenant, with a client secret. Note its client ID, your tenant ID and the secret’s value.
  • Read access for that app in your Dynamics environment. Your Dynamics administrator grants this, usually by adding the app as an application user with a security role that can read the tables you want.
  • Your environment’s address, such as https://contoso.crm.dynamics.com.
  1. Open Settings → Integrations.
  2. Find Dynamics and click Connect.
  3. Enter the Client ID, Client Secret and Tenant ID.
  4. In Dynamics Resource URL, enter only your environment’s name, the part before .crm.dynamics.com. For https://contoso.crm.dynamics.com, enter contoso.
  5. Enter a Connection Title and click Save & Test. The test asks Microsoft for a sign-in token with the app’s ID and secret.
  6. When the test passes, click Sync Dataset and choose what to sync.
Dataset What it holds Unique Key Sync Default interval
Opportunities Sales opportunities opportunityid Incremental 1 minute
Leads Leads leadid Incremental 1 minute
Quotes Quotes quoteid Incremental 1 minute
Activities Every activity type, such as emails, phone calls, tasks and appointments activityid Incremental 1 minute

Each sync pulls records changed since the last one, using modifiedon. Change the schedule with Sync Frequency in Dataset Options. Your plan’s refresh limits also apply.

Columns that Dynamics shows with a label use that label:

  • Choice columns hold the option’s label, not its number.
  • Lookup columns hold the related record’s name, not its ID.
  • Currency amounts such as $1,000.00 become numbers.

createdon and modifiedon keep their original date and time values.

Problem Likely cause What to do
“Error getting token from Dynamics” when you test The client ID, secret or tenant ID is wrong, the secret expired, or Dynamics Resource URL holds a full address Check the values in Microsoft Entra ID, create a new client secret if needed, and enter only the environment name, such as contoso.
The test passes but syncs fail with a 401 or 403 error The app can sign in but can’t read Dynamics Ask your Dynamics administrator to give the app read access to these tables.
Your environment’s address doesn’t end in .crm.dynamics.com That region isn’t supported Contact support.