Step 1 (OAuth): Create the Demandbase (ABX Cloud) App in Microsoft Dynamics

  • Updated

Context

The first step for integrating Demandbase with Microsoft Dynamics CRM using OAuth is to create and configure the Demandbase (ABX Cloud) App in the Microsoft Power Platform

Prerequisites

Steps: Create the Demandbase App in Microsoft Dynamics

  1. Log in to the Microsoft Power Platform.
  2. In the search box, enter App registrations and go to the App registrations page.
  3. At the top of the page, click + New registration.

    1.png
  4. Enter an Application Name. For example, Demandbase.
  5. Select Accounts in this organizational directory only (Tenant only - Single tenant).
  6. Click Register.
    2.png

Steps: Request API permissions 

  1. Go to Owned Application and click the application you created previously. 
    3.png
  2. To add API permissions, click API permissions in the left menu and do the following:
    a. Click + Add a permission.
    b. Select Dynamics CRM
    4.pngc.
    Select the user_impersonation checkbox.
    d. Click
    Add permissions.
    5.png

  3. To add a client secret, click Certificates & secrets in the left menu and do the following:
    a. Click +
    New client secret.
    b. Enter a Description (for example, Demandbase).
    c. Select an Expires option for the expiration period.
    d. Click Add.

    6.png
    e. Copy the Value for the client secret and save it for later.
         Important: The Client Secret Value will not be shown again. 
    7.png
  4. To add an Application ID URI, click Overview in the left menu and do the following:
    a. Click Add an Application ID URI
    8.png
    b. Click Set.
    9.png
    c. Leave the default value and click Save.
    10.png
  5. To add a scope for the Application ID URI, ensure Expose an API is selected in the left menu and do the following:
    a. Click + Add a scope.
    b. Enter a Scope name (for example, Demandbase).
    c. Select an option for Who can consent?
    d. Enter an Admin consent display name and Admin consent description.
    e. Toggle State to Enabled.
    f. Click
    Add Scope
    Screen_Shot_2022-11-15_at_2.02.04_PM.png
  6. To add a client application for the Application ID URI, ensure Expose an API is selected in the left menu and do the following:
    a. Copy the client ID from the Application ID URI field
    .
    Tip: The client ID appears after api:// in the field. For example, if api://a7047c09-206d-4ab8-a823-a4e5544a7d5f appears in the field, the client ID is a7047c09-206d-4ab8-a823-a4e5544a7d5f.
    b. Click + Add a client application.
    c. Enter the Client ID you copied previously. 
    d. Select the
    Authorized scopes checkbox.
    e. Click A
    dd application
    Screen_Shot_2022-11-15_at_3.37.22_PM.png
  7. Click Overview in the left menu and copy the following information for later use. 
    • Application (client) ID
    • Directory (tenant) ID
    • Application ID URI 
    • Client Secret Value (copied previously in step 3e) 
      Screen_Shot_2022-11-15_at_5.39.41_PM.png

Was this article helpful?

1 out of 2 found this helpful