Microsoft Dynamics 365 data source configuration
Orbit Connect can ingest data from your Microsoft Dynamics 365 Web API by connecting via OAuth.
Note
For end-user documentation in Orbit Connect, see Microsoft Dynamics 365 data source.
Prerequisites¶
You must register your application within your Azure tenant with the appropriate permissions to access Dynamics 365. You need to obtain the application name and other details from the administrator of your Azure tenant to configure an MS Dynamics data source within Apteco Connect.
If you don't have a web application registered, complete the registration step first.
Registering a web application in Azure¶
- Log in to https://portal.azure.com.
- Navigate to Microsoft Entra ID > Manage > App registrations.
-
Click + New registration.
-
Complete the required details:
- Enter a name for the application.
- Choose Web in the Redirect URI (optional) section.
-
Click Register.
-
Add a certificate or secret to the app.
- Click + New client secret.
- Enter a description, choose an expiration time, and click Add.
The secret is displayed on screen as the Value. Copy it immediately using the copy function.
Note
The value is only shown once.
-
To assign permissions so the app can access Dynamics 365, click API Permissions.
-
Click + Add a permission, then choose Dynamics CRM from the Microsoft APIs shown.
-
Select the option to enable user impersonation.
- Click Add permissions.
- Create a user and assign the app in the Power Platform admin centre: https://admin.powerplatform.microsoft.com/
Finding your Azure tenant ID¶
- Log in to https://portal.azure.com using your Microsoft credentials.
-
In the search box, type tenant and choose Tenant Properties from the results.
-
Copy the Tenant ID to your clipboard.
Finding the Application ID and Client Secret¶
If a web application has already been registered in Azure:
- Log in to https://portal.azure.com.
-
In the Azure services section, click Microsoft Entra ID.
-
Search for the name of the application configured for this purpose (for example, MS Dynamics 365 Sandbox).
-
Click the listing that shows Application (not Service Principal).
-
Copy the Application (client) ID.
-
Copy the Directory (tenant) ID.
-
Click Client Credentials to view the Client Secret (stored as the Value parameter). If this has not been recorded, create a new client secret using the highlighted option.
Obtaining the Dynamics 365 instance URL¶
The instance URL is derived from the start of the URL when you are logged into Dynamics 365.
In this case the instance URL is the start of the URL up to and including .com: https://aptecodev.crm11.dynamics.com













