This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
How To Register and Create Dynamics CRM Application on Azure
The user who is registering the application must have a user account with System Administrator security role and the global administrator role for the Azure subscription. An Azure subscription for application registration is required. A trial account will also work.
1) Sign into the Azure portal using an account with administration permission. You use an account within the same tenant (subscription) as the Dynamics CRM.
2) After logging into the Azure portal, click on the Azure Active Directory > App registrations > New registration.
3)In the Register an application page, we need to enter in a couple of things.
Name: Enter your application name that will be shown to users.
Supported account types: This is something that the Azure admin should know and has been configured.
If your Azure Active Directory is set up with a single tenant, select Accounts in this organizational directory only (.com only - Single tenant)
If your Azure Active Directory is set up with a multitenant, select Accounts in any organizational directory (Any Azure AD directory - Multitenant)
Note, this is very important. If it is not configured correctly, the user won’t be able to log in. This URI applies to the rest of the connectors such as Azure Data Lake Tools, OneDrive Tools and PowerBI Output Tools.
4)After you press register, it will take you to the overview page. This page a summary of the application settings. Here, we are interested in 2 things:
Application (client) ID – This is an unique ID assigned to the application we just created.
Directory (tenant) ID – This is an unique ID for the tenant that is assigned to your Azure Active Directory. Make sure this is the correct tenant ID, it should match the Tenant ID of the end users.
Copy these 2 IDs to a clipboard for later use.
5)On the left, click on Manifest. In the Manifest editor, set the allowPublicClient property to true and click save. This will allow the client to have access to this application.
6)Select API permissions tab, click on Add a permission.
In the Request API permissions console, under Microsoft APIs, click on the Dynamics CRM icon. Select the Delegated permissions and add the user_impersonation permission.
Your API permissions tab should look something like this:
7)Click on the Certificates & secrets tab. Under Client secrets, click on New client secret.
Pick the appropriate length of the secret and press add.
A new key will be automatically generated for you. This client secret will be masked when revisited later so it is recommend to copy this into the notepad as well.
We successfully set up the Dynamics CRM application. Keep in mind, these 4 things are needed to connect to the Dynamics CRM Input and Dynamics CRM Output tool.
Organization URL: This is provided to you when you log into the dynamics platform. For ex: https://[Organization Name].crm.dynamics.com/
Azure Active Directory tenant ID: This is found in the application summary page (step 4).
Client ID: This is found in the application summary page (step 4).
Client secret key: This is found in the Certificates & secrets (step 7).