Create an OAuth 2.0 Application in Microsoft Dynamics

To use Microsoft Dynamics as a content source, an admin needs to supply four critical pieces of information: Client URL, Client ID, Client Secret, and Tenant ID.

While getting the Client URL is straight forward, obtaining the remaining three requires creating an OAuth 2.0 application.

Create an OAuth 2.0 Application

  1. Log into https://portal.azure.com/.
  2. Navigate to Azure Active Directory from the left navigation menu.00

  3. Launch App Registrations (Legacy).

  4. Open New Application Registration.

  5. Give your application a name.

  6. Select Web app/API in Application type.

  7. Insert https://oauthsfdc.searchunify.com in Sign-on URL.

  8. Click Create.

You have successfully created an OAuth 2.0 application.

Obtain Client ID

  1. Return to the dashboard.

  2. Click Azure Active Directory, followed by App Registrations, and finally All Applications.

  3. Scroll down to find your app and click it to open.

The client ID and tenant ID are on the screen.

Obtain Client Secret

  1. Return to the dashboard.

  2. Click Azure Active Directory, followed by App Registrations (Legacy), and select All apps from the dropdown.

  3. Scroll down and click on your app.

  4. Open Settings.

  5. Launch Required Permissions and click Add.

  6. Expand Select an API.

  7. Pick Common Data Service (Dynamics CRM Online) and then click Select.

  8. Check all Delegated Permissions and then click Select.

  9. Click Done.

  10. Example the Keys tab.

  11. Enter a name in Description, select when the password will expire in Duration and click Save.

  12. Copy your client secret and store it safely. It cannot be viewed again.

You have obtained the client ID, client secret, and tenant ID now.

Last updatedTuesday, June 23, 2020