Register an App with Azure to Acquire Your Client ID/App ID register-an-app-with-azure-to-acquire-your-client-id-app-id

Azure Active Directory extends your on-premises directories into the cloud, providing support for MS Dynamics 365 CRM with on-premise ADFS authentication.

Registering a New App registering-a-new-app

  1. Log in to the Microsoft Azure management portal using an account with admin permissions. You can also access the Microsoft Azure portal through the Office 365 Admin Center by expanding the Admin item in the left navigation pane and selecting Azure AD.

    note caution
    You must use an account in the same Office 365 subscription as the one you intend to register the app with.
    note note
    If you don’t have an Azure account, you can sign up for one. Please refer to Microsoft’s documentation or reach out to your Microsoft representative for more information. Once you’ve created an Azure account, you can register one or more apps using the procedure outlined below.
    If you have an Azure account but your Office 365 subscription with Microsoft Dynamics 365 isn’t available in your Azure subscription, follow these instructions to associate the two accounts.
  2. Find and click Azure Active Directory in the left navigation pane.

  3. Under Manage, click App registrations.

  4. Click New registration at the top of the page.

  5. Enter a name for your app, choose your applicable account type, and enter a Redirect URL. Then click Register at the bottom of the page.

  6. You should now see your app in the App registrations tab.

Configuring App Permissions configuring-app-permissions

  1. Under the App registrations tab in your Active Directory, click the app you want to configure permissions for.

  2. Under Manage, click API permissions.

  3. Click the Add a permission button.

  4. Choose Dynamics CRM.

  5. Check the Access Common Data Service as organization users box, then click Add permissions.

  6. Once the permissions have been successfully added, wait at least 10 seconds.

  7. Click the Grant admin consent button.

  8. Click Yes to confirm.

    And you’re done!