Skip to content
English
  • There are no suggestions because the search field is empty.

Dynamics 365 CRM Credentials

Overview

DataBlend connects to Dynamics 365 CRM (Microsoft Dataverse) through OAuth 2.0, using one of two methods:

  • Microsoft account sign-in (Client Secret toggle disabled): a user signs in when connecting. DataBlend has the same access as that account.
  • App registration (Client Secret toggle enabled): DataBlend connects as a Microsoft Entra app, using its client ID and client secret. No user sign-in is required. The app's application user and security role control access.

Prerequisites (Client Secret toggle enabled only)

These steps require administrator access in Microsoft Entra and the Power Platform admin center.

  1. Register an app in Microsoft Entra. See Register an application. Copy the Application (client) ID and Directory (tenant) ID from the app's Overview page.
  2. Add a client secret. See Add a client secret. Copy the secret Value when it is created, because it is shown only once. Note the expiry date.
  3. Create an application user. In the Power Platform admin center, go to Manage > Environments > the environment > Settings > Users + permissions > Application users. Click New app user, select the app, and assign a security role that grants access to the tables DataBlend will read from or write to. See Manage application users.

Configuration

Field Name Required/ Optional Description
Type Required Dynamics 365 CRM
Name Required Provide a unique name for this credential.
Client Secret (toggle) Optional Leave off to connect by signing in with a Microsoft account. Turn on to connect with your own app registration. Turning it on adds the Client ID and Client Secret fields.
Environment Required Enter the environment name, which is the first part of your environment address. The address is shown in the Power Platform admin center under Manage > Environments.
Tenant ID Required Enter your Microsoft Entra Directory (tenant) ID. It's on the Overview page of the Microsoft Entra admin center, or of your app registration.
Region Required Select the region where the environment is hosted. It matches the environment address: NAM for crm.dynamics.com, EUR for crm4.dynamics.com, and so on. See Microsoft's full list.
Access Token Not Applicable Leave blank. Fills in when you click Connect.
Refresh Token Not Applicable Leave blank. Fills in when you click Connect with Client Secret off. With Client Secret on, it stays blank, which is expected.
Client ID Required with Client Secret on Enter the Application (client) ID from your Microsoft Entra app registration.
Client Secret Required with Client Secret on Enter the client secret Value (not the Secret ID) from Certificates & secrets in your app registration.

Connect and Test

  1. Click Save.
  2. In the Status section, click Connect.
    • Client Secret toggle disabled: the Microsoft sign-in page opens. Sign in with an account that has access to the environment, and accept the permission request if one is shown. The page then returns to the credential.
    • Client Secret toggle enabled: no sign-in page opens. DataBlend requests a token using the client ID and client secret, then returns to the credential.
  3. The Status section shows Connected.
  4. In the Test section, click Test Now to confirm access to the environment.