Azure Active Directory extends your on-premises directories into the cloud, providing support for MS Dynamics 365 CRM with on-premise ADFS authentication.
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.
You must use an account in the same Office 365 subscription as the one you intend to register the app with.
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.
Find and click Azure Active Directory in the left navigation pane.
Under Manage, click App registrations.
Click New registration at the top of the page.
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.
You should now see your app in the App registrations tab.
Under the App registrations tab in your Active Directory, click the app you want to configure permissions for.
Under Manage, click API permissions.
Click the Add a permission button.
Choose Dynamics CRM.
Check the Access Common Data Service as organization user****s box, then click Add permissions.
Once the permissions have been successfully added, wait at least 10 seconds.
Click the Grant admin consent button.
Click Yes to confirm.
And you’re done!