Microsoft Dynamics 365 is an enterprise suite of CRM and ERP applications for sales, customer service, finance, and operations. With BonData, you can connect to your Dynamics 365 environment to read, enrich, and sync your business data within Agent workflows. BonData supports two authentication methods for Dynamics 365.Documentation Index
Fetch the complete documentation index at: https://docs.bondata.ai/llms.txt
Use this file to discover all available pages before exploring further.
OAuth Authentication
For user-delegated access
Application User
For service-to-service integration
OAuth Authentication
Follow these steps to configure OAuth authentication for BonData.Step 1: Register an App in Azure AD
- Go to Azure Portal
- Navigate to Azure Active Directory → App registrations
- Click New registration
- Configure:
- Name:
BonData Integration - Supported account types: Accounts in any organizational directory
- Redirect URI: Web -
https://app.bondata.ai/auth/oauth2/callback
- Name:
- Click Register
Step 2: Configure API Permissions
- Go to API permissions → Add a permission
- Select Dynamics CRM
- Choose Delegated permissions and select
user_impersonation - Click Add permissions
- Click Grant admin consent (requires admin)
Step 3: Create Client Secret
- Go to Certificates & secrets → Client secrets
- Click New client secret
- Add a description and select expiration
- Copy the secret value immediately - it won’t be shown again
Step 4: Note Your Credentials
- Client ID: Found on the Overview page (Application ID)
- Client Secret: The value you just copied
Step 5: Get Your Dynamics URL
Your Dynamics 365 URL is in the format:https://yourorg.crm.dynamics.com
Step 6: Enter Credentials
Enter your Dynamics URL in BonData, then click Connect to authorize via OAuth.Required Fields (OAuth)
| Field | Description |
|---|---|
| URL | Your Dynamics 365 environment URL |
Application User
Follow these steps to create an application user for BonData.Step 1: Register an App in Azure AD
- Go to Azure Portal
- Navigate to Azure Active Directory → App registrations
- Click New registration
- Enter a name (e.g.,
BonData Integration) - Select Accounts in this organizational directory only
- Click Register
Step 2: Get App Credentials
- Note the Application (client) ID - this is your Client ID
- Note the Directory (tenant) ID - this is your Tenant ID
- Go to Certificates & secrets → Client secrets
- Click New client secret
- Add a description and select expiration
- Copy the secret value immediately - it won’t be shown again
Step 3: Create Application User in Dynamics
- Go to Power Platform Admin Center
- Select your environment → Settings → Users + permissions → Application users
- Click New app user
- Add the app you registered
- Assign appropriate security roles
Step 4: Get Your Dynamics URL
Your Dynamics 365 URL is in the format:https://yourorg.crm.dynamics.com(North America)https://yourorg.crm4.dynamics.com(EMEA)
Step 5: Enter Credentials
Enter your Tenant ID, Client ID, Client Secret, and Dynamics URL in BonData.Required Fields (Application User)
| Field | Description |
|---|---|
| Tenant ID | Directory (tenant) ID from Azure AD app registration |
| Client ID | Application (client) ID from Azure AD app registration |
| Client Secret | Client secret from Azure AD app registration |
| URL | Your Dynamics 365 environment URL |