Microsoft Dynamics CRM API Provider Setup

API Provider Setup

To set up the Microsoft Dynamics CRM endpoint, you need to have an account and create or already have an app. Also, to authenticate with OAuth 2, you need to know the Client ID and keys for the app. If you use custom authentication when you provision an element, you do not need the Client ID and keys for the app. Dynamics versions 2013-2015 are supported by the MS Dynamics 2015 SDK.

Note: Microsoft provides the most up-to-date and detailed setup instructions at Microsoft Dynamics 365 Web API.

To create an app and acquire OAuth information:

  1. Log in to your MS Dynamics account.
  2. Navigate to the Admin Center, expand Admin Centers, and then click Azure AD.

    Admin Center

  3. Select your directory, and then click Applications.

    Admin Center

  4. Select your application from the list, or create a new application (click Alt Text in the page footer).

  5. Complete the configuration, paying close attention to the following for OAuth authentication:

    • keys: Use the key value when you provision an element using OAuth authentication as the OAuth Client Secret in Azure AD or oauth.api.secret.
    • CLIENT ID: Used when you provision an element using OAuth authentication as the OAuth Client ID in Azure AD or oauth.api.key.
    • permissions to other applications: Permissions shown when you provison an instance with OAuth authentication.
  6. Note: The key value for OAuth Client Secret in Azure AD appears only after you save the configuration and only one time. You will not be able to retrieve the key value later, so capture it immediately after you save.

  7. Click Alt Text in the page footer.

  8. Go to the keys section and capture the key value for OAuth Client Secret in Azure AD.