Connecting your Dynamics CRM to Dataro
Step 1: Go to https://portal.azure.com/ and login
Step 2: Enter to Azure Active Directory.
If you can’t locate the icon on this screen, click on More services and look for Azure Active Directory there.
Step 3: In the menu on the left, click on App registrations.
Step 4: Under the All applications tab, find the application you want to connect and click on its name.
Step 5: From the overview section of the application, copy Application (client) ID and Directory (tenant) ID
Step 6: In the menu on the left, click on Certificates & secrets.
Step 7: in section Client secrets, click on the button New client secret
Step 8: Add a description, e.g. Dataro, select your preferred expiry date, and press Add button.
Step 9: Copy the value of the newly created Client Secret.
Step 10: From your Dynamics CRM, go to Advanced Settings > Customizations > Developer Resources and copy the Service Root URL.
Step 11: Send the Application (client) ID, Directory (tenant) ID, Client Secret and Service Root URL to integrations@dataro.io .
Ideally, these should be shared using a secured channel such as https://onetimesecret.com/
Next steps are to confirm we have created application user in power admin for the above Application ID
Step 12: Login into https://admin.powerplatform.microsoft.com/home and click on environments. You can see a list of environments. Select the environment where the application is registered in Active Directory.
(The application here will be the same one for which we sent details in step 4 & 5)
If we obtain the environment in step 12, skip step 13
Step 13: (Not required if we already have the environment)
If we do not have an environment we might have to create one. For that, click on new
Fill in the Name of environment, Region specific to your organization, Type - Whether Prod or Dev. We also need to enable Dataverse as shown below.
Step 14: Select the environment from the list and confirm the Environment URL is similar to the one in the app.
Step 15: Inside the selected environment, click on settings
Under Users + Permission, Click on Application Users
Step 16:
Confirm if the Application User for the app is created.
To check, in the users list above look for the Application ID which we had in step 4 and step 5. If it is not present then we need to create an application user.
Step 17: To create > Click on New app user on top. Here, we need to add the same registered app from the active directory, select the business unit and add security roles as user of the application.
In security roles, If your registered application is Dynamics CRM or Fundraising and Engagement make sure we have Dynamics CRM user or Fundraising and Engagement Azure User as enabled. We need to click on Save to finally create the user.
Once done, we should get the application user in the list below - It should be in Active state
We can always edit security roles, to add new roles there for the application.
Step 18: We click sync. This is the final step. For that - select the user and go to details as below
Click on Sync on top right corner
If we have completed all the above steps then Dataro should have access to Dynamics CRM.