skip to main content
Configuring and connecting to data sources : Authentication : OAuth 2.0 authentication
  

Try DataDirect Drivers Now

OAuth 2.0 authentication

The driver supports the following OAuth 2.0 grant types for accessing web instances of Dynamics 365 services.
*Access token flow
*Client credentials grant
*Refresh token grant
If it is not already registered, you will need to register your application as an Azure Active Directory application to implement an OAuth 2.0 grant flow and run an application against a Dynamics 365 web instance. This process is detailed in "Registering your application on the Azure portal."
To configure the driver for an OAuth 2.0 implementation, 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. Consult the following topics for details.
*Obtain the service URL
*Obtain application client information and endpoints
*Determine the scope (only for Microsoft Identity Platform v2)
*Obtain access and refesh tokens using the Configuration Manager
*Create an application user for the client credentials grant
* Access token flow
* Client credentials grant
* Refresh token grant
* Registering your application on the Azure portal
* Obtaining the service URL
* Obtaining application client information and endpoints
* Determining the scope
* Obtaining access and refresh tokens using the Configuration Manager
* Creating an application user for the client credentials grant