This guide explains how to integrate Microsoft Dynamics 365 by setting up an application in Azure, configuring permissions, and creating an application user in the Power Platform Admin Center.
Go to <https://www.microsoft.com/en-us/dynamics-365>, click Sign In, and log in with your Microsoft account. Once signed in, navigate to Dynamics 365 Sales and click on to open the Sales application by filling correct email details
Open <https://portal.azure.com> and sign in using the same Microsoft account. From the left-hand menu, select Microsoft Entra ID to access app registration settings.
On the Microsoft Entra ID page, click Add and choose App Registration. On the Register an application page, enter a display name for your application in the Name field, ensure that Accounts in this organizational directory only remains selected under Supported account types, and then click the Register button at the bottom of the page.

Register an Application
Once the application is registered, you will be directed to its Overview page, where you can view details such as Display name, Application (client) ID, Object ID, Directory (tenant) ID, and Supported account types.

Application Overview
On the application's Overview page, you will see all the details of your application. From the left-hand menu under Manage, go to API Permissions. On the Configured permissions section, click the Add a permission button. In the Request API permissions window, select Microsoft APIs, then choose Dynamics CRM. Scroll down to the Permissions section, and click on "Delegated permissions" section. Check the box for user_impersonation (Access Common Data Service as organization users), and click Add permissions button to update the permissions.

API Permissions
Next, go to Certificates & Secrets under the Manage section in the left-hand panel. In the Client secrets section, click on +New client secret. On the Add a client secret screen, enter a description and leave the expiration option as the default 180 days. Click Add to create the secret. Once added, you will see it listed under the Client secrets section along with its details: Description, Expires, Value, and Secret ID. Make sure to copy and securely store the Value.

Client Secret
Go to this Microsoft guide for reference on creating an application user. Then, open the Power Platform Admin Center by using your Microsoft account. And from the left-hand menu, go to Manage > Environments. On the Environments screen, you will see a list of environments, each with three dots next to them. Click on the three dots for your desired environment and select Settings.
In the Settings screen, navigate to the Users + Permissions section and click on Application Users.

Settings Screen
On the Application Users screen, you will see a list of existing users and a + New App User button in the top left corner. Click on + New App User.

New App User
On the Create a new app user screen, first add an app: under the App section, click + Add an App, select the application you created earlier from the Add an app from Microsoft Entra ID screen, and click Add.
Next, in the Business Unit field, type in the desired business unit. Then, under Security Roles, select all required roles. Once you have filled in all three sections (App, Business Unit, and Security Roles), click Create. You will now see the new user listed under Environments > Sales Trial > Settings > Application Users.

Application Users
After completing the above steps, note down the following information required for integration:
These details will be used in the Dengage platform to complete the Microsoft Dynamics integration.
| master_contact | crm_opportunities |
|---|---|
| contact_key | opportunity_id |
| name | contact_key |
| surname | name |
| description | |
| email_permission | parent_account_id |
| email_status | status |
| gsm | rating |
| gsm_permission | sales_stage |
| gsm_status | close_probability |
| originating_lead_id | total_amount |
| entity_name | total_discount |
| qualifying_opportunity_id | estimated_close_date |
| parent_contact_id | actual_close_date |
| parent_account_id |
Go to your Dengage account and navigate to Settings > Integrations > 3rd Party Integration. Locate Microsoft Dynamics 365 in the list and click the Connect button.
Dengage supports connections to both On-Premises (Yes) and Cloud (On-Premises: No) versions of Microsoft Dynamics CRM.
Refer to Microsoft Dynamics 365 Customer Engagement (on-premises) system requirements and required technologies for detailed prerequisites.
Provide the following credentials:

On-Premises Configuration
Provide the following credentials:
You can find the Tenant ID and Client ID on the Overview page of your registered application in Microsoft Azure (Microsoft Entra ID), and the Client Secret under the Certificates & Secrets section of the same application.

Cloud Configuration
After entering the correct credentials, click on Connect and Next. A confirmation message will appear indicating that the connection is successful.
To proceed with data synchronization, click on the Start Sync button. You can also choose the Notify by Email option to receive an email notification once the sync is complete.
Finally, click Got it to be redirected to the details page where the connection status will be displayed as Connected.
Once the integration is connected, you will see the Sync Settings screen, where you can configure which data types to sync with Dengage. The available options include Lead, Contact, Account, and Opportunities. You can select the fields you want to sync for each data type as needed.

Sync Settings
You can also access the Sync Details page to review the integration settings.

Sync Details
Additionally, there is a Sync History page where you can review all previously synced records. This page allows you to search records by specifying their Data Type (e.g., Lead, Contact, Account, Opportunities).

Sync History
Note:
This allows you to manage which fields are synchronized and easily track your sync history.
Log in to your Microsoft Dynamics account and click on Sales Hub. From the left-hand panel, you will see the following sections:
Go to the Marketing Lists screen and click on the + New button.
On the Summary tab, fill in the following fields:
Click Save to create the list.
Navigate to Lookup Records, type in the record name you want to add (e.g., contact, lead, or account), and click Add. The record will now appear under the Members tab. Click Save & Close.
You can create multiple marketing lists as needed, for example:
After creating your marketing lists, go to the Sync History screen in Dengage to confirm that the records (e.g., contacts, leads, or accounts) have been synced successfully.
You can also verify synced data by navigating to Data Space > Tables > All in Dengage. Use the search bar to look for "CRM" and click on tables such as CRM Opportunities.

CRM Data Verification
Any changes made to Contacts, Leads, or Accounts in Microsoft Dynamics CRM will automatically reflect in the master_contact table.
You can verify these changes by creating a segment in Dengage Platform. For example:

Segment Configuration

Calculate Results

Record Details
This allows you to easily confirm that updates in Microsoft Dynamics CRM are successfully synced and stored in Dengage Platform.
You can use your Microsoft Dynamics Marketing Lists directly while creating segments in the Dengage platform. To do this:
Go to Audience > Segments > Interactive Segments in the Dengage Platform.
Click + New Segment and enter a Name and Description for your segment, then click Next.
In the Inclusion Filter section, click the Add Filter button.
From the dropdown menu, under Existing Segments, choose Microsoft Dynamics Com.
Select from the available Static or Dynamic Marketing Lists synced from Microsoft Dynamics.

Marketing Lists
Click Save & Calculate to generate the segment and view the results based on the selected list.
Click Save at the top to store your segment for future use.
This allows you to easily target and engage audiences from your Microsoft Dynamics marketing lists directly within Dengage campaigns.
At any stage, you can disconnect your Microsoft Dynamics account from Dengage. To do this, click on the Disconnect button. A confirmation pop-up will appear.