> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hotglue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Dynamics 365

# Connector Details

| Name           | Value                                                                                                                                                                                                                                                                                                             |
| :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Platform       | [Microsoft Dynamics 365](https://dynamics.microsoft.com)                                                                                                                                                                                                                                                          |
| Auth Type      | OAuth                                                                                                                                                                                                                                                                                                             |
| Direction      | Bidirectional                                                                                                                                                                                                                                                                                                     |
| Tap Repo       | [https://github.com/hotgluexyz/tap-dynamics](https://github.com/hotgluexyz/tap-dynamics)                                                                                                                                                                                                                          |
| Target Repo    | [https://gitlab.com/hotglue/target-dynamics](https://gitlab.com/hotglue/target-dynamics)                                                                                                                                                                                                                          |
| Tap Metrics    | <p>Usage: <Tooltip tip="low"><Icon icon="user" iconType="regular" color="#fff" size="14px" /><Icon icon="user" iconType="regular" color="#fff" size="14px" /><Icon icon="user" iconType="regular" color="#A9A9A9" size="14px" /><Icon icon="user" iconType="regular" color="#A9A9A9" size="14px" /></Tooltip></p> |
| Target Metrics | <p>Usage: <Tooltip tip="low"><Icon icon="user" iconType="regular" color="#fff" size="14px" /><Icon icon="user" iconType="regular" color="#fff" size="14px" /><Icon icon="user" iconType="regular" color="#A9A9A9" size="14px" /><Icon icon="user" iconType="regular" color="#A9A9A9" size="14px" /></Tooltip></p> |
| Unified Schema | <Tooltip tip="Supported tables: Contacts, Companies, Deals, Users">Supported in [Sales Unified Schema](https://hotglue.com/docs/unified).</Tooltip>                                                                                                                                                               |

# Credentials Setup

Follow the steps below to get the credentials you need to use the Microsoft Dynamics 365 connector.

The first thing that you need to do to get your Microsoft Dynamics 365 CRM OAuth credentials is to [login](https://go.microsoft.com/fwlink/?linkid=2083908) to the Azure portal using an account with administrator permission. If you do not have an Azure account, you can create learn how to create one [here](https://docs.microsoft.com/en-us/office/developer-program/microsoft-365-developer-program).

![](https://files.readme.io/fdce9e9-azure-app-registrations-page.png "azure-app-registrations-page.png")

Once in the Azure Portal, select the Azure Active Directory in the left pane and select App registrations and click on New registration.

![](https://files.readme.io/d27a30b-new-app-registration-page.png "new-app-registration-page.png")

In the Register an application page, enter your application's registration information!

Firstly, in the name Section enter your company's name. Then select Accounts in any organizational directory option from the Supported account types section.

Set the Redirect URI to

```text theme={null}
https://hotglue.xyz/callback
```

Click on Register to create the application.

![](https://files.readme.io/7d42b5e-app-registration-overview-page.png "app-registration-overview-page.png")

On the app Overview page, hover over Application (client) ID value, and select the Copy icon to copy the value as you'll need to specify this in your application's authentication code or app.config file where appropriate.

![](https://files.readme.io/1d6f0cc-app-registration-manifest-page.png "app-registration-manifest-page.png")

Select Manifest tab, in the manifest editor, set the allowPublicClient\* property to true and click on Save.

![](https://files.readme.io/7e15d5a-azure-api-permissions-page.png "azure-api-permissions-page.png")

Select the API permissions tab and then go ahead and click on the Add a permission button.

![](https://files.readme.io/13387b1-app-registration-select-api-page.png "app-registration-select-api-page.png")

Search for and choose Dataverse under the APIs my organization uses tab. If Dataverse is not found, then search for Common Data Service".

> 📘 Tip
>
> If you are presented with more than one Common Data Service item in the search list, choose any one of them. In the next step the service name and URL will be shown. At that point you can go back to the API search and choose a different Dataverse list item if needed.

![](https://files.readme.io/27202c1-app-registration-delegate-permissions-page.png "app-registration-delegate-permissions-page.png")

Click on Delegated permissions and check the options and click on Add permissions. This will wrap up registering your app in the Azure Active Directory!

Now you can insert the client id and client secret pair  into your hotglue Microsoft Dynamics 365 source settings.

# Tap Changelog

<Accordion title="Tap Changelog">
  | Version                                                                                               | Notes                                                                              |
  | :---------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------- |
  | [v0.1.6](https://github.com/hotgluexyz/tap-dynamics/releases/tag/v0.1.6)                              | fixes                                                                              |
  | [v0.1.5](https://github.com/hotgluexyz/tap-dynamics/releases/tag/v0.1.5)                              | bug fixes                                                                          |
  | [v0.1.3](https://github.com/hotgluexyz/tap-dynamics/releases/tag/v0.1.3)                              |                                                                                    |
  | [](https://github.com/hotgluexyz/tap-dynamics/releases/tag/v0.1.2)                                    |                                                                                    |
  | [v0.1.1 - Rename domain field to org](https://github.com/hotgluexyz/tap-dynamics/releases/tag/v0.1.1) | - Renamed `domain` field to `org`<br />- Changed catalog generation to `available` |
</Accordion>
