Setting up the data source account credential
- Last Updated: December 22, 2020
- 1 minute read
The credential information you need to set up a Dynamics 365 data source depends on the OAuth 2.0 grant flow you are using. The Dynamics 365 connector supports the refresh token grant and the client credentials grant. For a list of credential information required for each grant type, see the following topics.
If it has not already been registered, you will need to register your application as an Azure Active Directory application to set up a Dynamics 365 data source. This process is detailed in Registering your application on the Azure portal.
To set up a Dynamics 365 data source, you will need client credentials and endpoints related to your registered application, as well as the service URL for your Dynamics 365 web instance. In addition, for the client credentials grant, you must create an application user on your Dynamics 365 web instance. See the following topics for details.
- Obtaining the service URL
- Obtaining application client information and endpoints
- Determining the scope (only for Microsoft Identity Platform v2)
- Obtaining refresh token using Postman (only for refresh token grant)
- Creating an application user for the client credentials grant (only for client credentials grant)
Related Links
- Refresh token grant
- Client credentials grant
- Registering your application on the Azure portal
- Obtaining the service URL
- Obtaining application client information and endpoints
- Determining the scope
- Obtaining refresh token using Postman
- Creating an application user for the client credentials grant
- Integrating the connector