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:
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".Authentication Type
: Microsoft Dynamics 365 supports the following types of authentication.OAuth
OAuth 2.0
Basic Auth
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 onnew 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).


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


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 Key | Description |
| Access Common Data Service as organization users |
| Read Forecast data |
Actions
Action Name | Description |
| Creates a standard or custom object in Microsoft Dynamics 365 |
| Creates a standard or custom object in Microsoft Dynamics 365 (batch) |
| Update a standard or custom object in Dynamics 365 |
| Update a standard or custom object in Dynamics 365 (batch) |
| Gets object by ID from Microsoft Dynamics 365 |
| Gets object schema from Microsoft Dynamics 365 |
| Creates a new account in Microsoft Dynamics 365 |
| Closes a case in Microsoft Dynamics 365 |
| Search object in batch from Microsoft Dynamics 365 |
| Lists objects from Microsoft Dynamics 365 |
Triggers
Trigger Name | Description |
| Triggers when an object is deleted in Microsoft Dynamics 365 |
| Periodically exports new objects created since the last trigger |
| Periodically exports new or updated objects created since the last trigger |
| Monitors changes in entities (one per run) |
| Monitors changes in entities in batch |
| Triggers immediately when an object is created or updated |
| Triggers when an object is created (appears twice in list) |
| Triggers immediately when an object is created |
| Triggers when an object is created or updated |
| Searches objects on a specified schedule |