> For the complete documentation index, see [llms.txt](https://support.emarketeer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.emarketeer.com/integrations/dynamics/dynamics-installation.md).

# Dynamics - Installation Process

## Manual prerequisites

### Step 1: Create an app user in the customer's Power Platform environment

As a **System Administrator**, follow these steps:

1. Navigate to a consent URL and add the app: `https://login.microsoftonline.com/<your tenant id>/adminconsent?client_id=a2a5e177-5102-4792-b0eb-52f4539f3cf7`
2. Open the **Power Platform Admin Center** at `https://admin.powerplatform.microsoft.com`.
3. Go to **Manage > Environments** and select the environment you are configuring.
4. Open **Settings → Users + permissions → Application users**.
5. Click **+ New app user**.
6. In the app selection screen, choose **eMarketeer Marketing Cloud**. If it is not visible, search using the App ID `a2a5e177-5102-4792-b0eb-52f4539f3cf7`.
7. Assign the security role **System Administrator** to the app user.
8. Click **Save**.

### Step 2: Enable auditing for consent sync

To ensure consent data syncs correctly, enable auditing for the Contact table.

1. Go to Power Apps at `https://make.powerapps.com`.
2. Navigate to **Tables → Contact**.
3. Click **Properties**, then **Advanced options**.
4. Check **Audit changes to its data**.
5. Click **Save**.

<div align="left" data-with-frame="true"><img src="/files/BcwLsi8wLhYOnJz6FQtO" alt="Advanced options for the Contact table with audit changes enabled"></div>

## Step 3: Enable the integration in eMarketeer

This action requires the Administrator role.

In eMarketeer, go to [Account → Plugins & Integration → Microsoft Dynamics 365](https://app.emarketeer.com/corporate/gui/account/integrations/dynamics.php).

Click **Connect to Dynamics 365**.

<div align="left" data-with-frame="true"><img src="/files/kn60KYA44XdrPoOK3l3K" alt="Microsoft Dynamics 365 integration page in eMarketeer with the Connect button"></div>

Log in with a Microsoft account that has access to the Dynamics environment you want to integrate.

\[

<div align="left" data-with-frame="true"><img src="/files/23MXIIMXz0Rxh7Cv2Vpr" alt="Microsoft sign-in prompt for connecting Dynamics"></div>

Choose the organization (environment) you want to integrate with and click **Continue**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.emarketeer.com/integrations/dynamics/dynamics-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
