Unify Integrations
Logo
Microsoft Dynamics 365 CRM

Microsoft Dynamics 365 CRM

Logo

5 mins READ

Microsoft Dynamics 365 is a cloud-based suite of business applications that integrates sales, customer service, and field service management. 

Integrating your application with Microsoft Dynamics 365 streamlines business processes and customer engagement, offering a comprehensive suite of tools for sales, customer service, field service, and more.

Authentication

Before you begin, make sure you have the following information:

  1. Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings. It could be something descriptive like "MyAppdynamics365Integration".

  2. Authentication Type: Microsoft Dynamics 365 supports the following types of authentication.

    • OAuth

    • OAuth 2.0

    • Basic Auth

  3. Dynamics domain: Enter your dynamics 365 domain. For example, if your domain is https://example.crm8.dynamics.com, enter example.crm8.dynamics.com

OAuth (One step) Based Authentication

  • Login into the Microsoft Azure Portal by clicking here.

  • In the search Bar, search for App Registration and then Click on new Registration.

  • Provide the Name and supported account types and register your app.

  • The Client ID refers to the Application(client) ID.

  • Click on Add a credential or scope to generate the client secret.

  • Copy and store these securely to prevent unauthorised access.

  • Enter your Tenant ID (Directory tenant ID).

Frame 4689.png
Frame 4689.png

OAuth 2.0-based Authentication

  • Use the above mentioned steps to generate Client ID and Secret

  • Enter your Client ID (Application(client) ID)

  • Enter your Client Secret 

Frame 4689.png
Frame 4689.png

Resource owner password credentials (Basic Auth)-based Authentication

  • Enter your Client ID (Application(client) ID)

  • Click “Add a credential or scope” to generate the client secret.

  • Enter your username of Microsoft Dynamics 365 account.

  • Enter your password for the Microsoft Dynamics 365 account.

  • Enter your Tenant ID; the Tenant ID refers to the Directory(tenant) ID..

Granular Permissions

Scope KeyDescription
User_impersonationAccess Common Data Service as organization users
READRead Forecast data

Actions

Action NameDescription
Create objectCreates a standard or custom object in Microsoft Dynamics 365
Create object in batchCreates a standard or custom object in Microsoft Dynamics 365 (batch)
Update objectUpdate a standard or custom object in Dynamics 365
Update object in batchUpdate a standard or custom object in Dynamics 365 (batch)
Get object by IDGets object by ID from Microsoft Dynamics 365
Get object schemaGets object schema from Microsoft Dynamics 365
Create AccountCreates a new account in Microsoft Dynamics 365
Close CaseCloses a case in Microsoft Dynamics 365
Search object in batchSearch object in batch from Microsoft Dynamics 365
List objectsLists objects from Microsoft Dynamics 365

Triggers

Trigger NameDescription
Delete objectTriggers when an object is deleted in Microsoft Dynamics 365
Export New objectsPeriodically exports new objects created since the last trigger
Export New or updated objectsPeriodically exports new or updated objects created since the last trigger
Monitor changes in entitiesMonitors changes in entities (one per run)
Monitor changes in entities (Batch)Monitors changes in entities in batch
New / updated objectTriggers immediately when an object is created or updated
New objectTriggers when an object is created (appears twice in list)
New object (Immediate)Triggers immediately when an object is created
New/updated objectTriggers when an object is created or updated
Scheduled object searchSearches objects on a specified schedule