You must obtain the following client information and endpoints in order to retrieve the OAuth tokens necessary for connecting to a Dynamics 365 service.

  • Client ID - the client ID for your application
  • Client secret - the client secret for your application
  • Authorization URI - the endpoint for obtaining an authorization code from the Azure authorization service
  • Token URI - the endpoint used to exchange authentication credentials for access tokens
Note: The Dynamics 365 connector supports Microsoft Identity Platform (v2) provisioning.

Take the following steps to obtain application client information and endpoints.

  1. Go to the Azure portal.

    https://portal.azure.com

  2. Select Azure Active Directory.
  3. Select App registrations on the left.
  4. Select the app that you have created.
  5. From the app overview page, record the client ID.
  6. Obtain your client secret.
    1. Select Certificates & secrets.
    2. Click New client secret.
    3. Enter description and choose an expiry option.
    4. Click Add.
    5. Copy the client secret to a secure location.
  7. Obtain authorization URI and token URI endpoints.
    1. Return to the Overview page for your application.
    2. Click Endpoints to display authorization and token endpoints associated with the application.
    3. Record the Authorization URI. The Authorization URI is the OAuth 2.0 authorization endpoint (v2).
    4. Record the Token URI. The Token URI is the OAuth 2.0 token endpoint (v2).