Guide: Setting Up the Dynamics 365 Connector
A step-by-step guide to creating an Azure App Registration and configuring the required permissions to connect Demiton to your Microsoft Dataverse environment.
Overview
Connecting Demiton to your Microsoft Dynamics 365 / Dataverse environment is the key to creating a single, synchronized source of truth. The process involves creating a secure identity for the Demiton Sync Service within your own Microsoft tenant and granting it the specific permissions it needs to read data.
By the end of this guide, you will have the three credentials required to configure the integration within Demiton:
- Directory (Tenant) ID
- Application (Client) ID
- Client Secret
Part 1: Azure App Registration
First, we will register a new application in Microsoft Entra ID (formerly Azure Active Directory). This must be done by a user with sufficient permissions in your Azure Portal.
Step 1: Create a New App Registration
- Navigate to the Microsoft Entra ID service in the Azure Portal.
- In the left navigation, select App registrations and click + New registration.
- Fill in the form:
- Name:
Demiton GRC Sync Service
- Supported account types: Leave the default (
Accounts in this organizational directory only
). - Redirect URI: Leave this blank.
- Name:
- Click Register.
Step 2: Copy Your IDs
On the app's overview page, copy the Application (client) ID and the Directory (tenant) ID. Save these securely.
Step 3: Create a Client Secret (The "Password")
- In the left navigation for your app registration, go to Certificates & secrets.
- Click + New client secret, give it a description (e.g.,
DemitonKey1
), and set an expiry date. - CRITICAL: The
Value
of the new secret will only be shown once. Copy it immediately and save it securely with your other credentials. This is yourclient_secret
.
Part 2: Power Platform Configuration
Now we will create an "Application User" in your Dataverse environment and give it the permissions defined by the Azure app. This must be done by a Power Platform administrator.
Step 4: Create an Application User
- Navigate to the Power Platform admin center.
- Go to Environments, select the correct environment, and click Settings.
- Under Users + permissions, select Application users.
- Click + New app user. In the panel that appears, click + Add an app.
- Search for the
Demiton GRC Sync Service
app you created, select it, and click Add. - Select the correct Business Unit for the user.
- Click the pencil icon next to Security Roles, assign the System Administrator role for initial setup, and click Save.
- Click Create.
Part 3: Configure and Test in Demiton
You now have all three pieces of information. The final step is to enter them into Demiton.
- In Demiton, navigate to Workspace HQ -> Intelligence Links.
- Click Manage D365 Link.
- Paste your Tenant ID, Client ID, and Client Secret into the corresponding fields.
- Enter the Environment URL for your Dynamics 365 instance (e.g.,
https://yourorg.crm6.dynamics.com/
). - Click the Test Connection button.
If you see a "Connection test was successful!" message, your setup is complete. You can now enable the Intelligence Link and proceed to map your entities.