Dynamics 365 Business Central Credentials
DataBlend connects to Dynamics 365 Business Central through the Business Central API using either a Microsoft user sign-in or your organization's own Microsoft Entra app registration.
Configuration
1. Give the credential a name and save it.
| Field | Required/ Optional | Comments |
| Name | Required | Users may input free text to easily identify different credentials. |
| Authentication Method | Required | Select User to sign in with a Microsoft user account, or App registration to use your organization's own Microsoft Entra app. User is the default. |
| Access Token | Auto-fill | Populated after log in to Business Central (User sign-in only). |
| Refresh Token | Auto-fill | Populated after log in to Business Central (User sign-in only). |
| Client ID | Required for App registration | Enter the Application (client) ID of your Microsoft Entra app. |
| Tenant ID | Required for App registration | Enter the Directory (tenant) ID of the Microsoft Entra tenant where the app is registered. |
| Client Secret | Required for App registration | Enter a client secret value created for the app. |
| Environment Name | Required | Enter the desired environment name in which to collect from. Common environment names are Sandbox or Production. Environment names can be found in the user profile. |
| Base URL | Required | Enter the Base URL. Example Base URL: https://api.businesscentral.dynamics.com |
| Locked | Optional | Enable or disable the toggle to lock the credential. This will not allow another user to edit the credential. |
Connect with a Microsoft User
2. Select Connect and log in to Business Central.
3. The access and refresh tokens will be populated.
4. In the Test pane select Test Now to confirm access to the Business Central environment.
A valid test should show as follows:

Connect with an App Registration
- Select App registration.
- Enter the Client ID, Tenant ID and Client Secret from your Microsoft Entra app, along with the Environment Name and Base URL, and save the credential.
- In the Test pane select Test Now to confirm access to the Business Central environment.
App registration credentials do not use Connect, and the Access Token and Refresh Token fields stay empty. DataBlend requests a token from Microsoft each time it needs one and does not store it.
Business Central Setup for App Registration
Before an App registration credential can connect, complete the following:
- In Microsoft Entra, grant the app Dynamics 365 Business Central API application permissions and grant admin consent.
- In Business Central, open the Microsoft Entra Applications page and add the app using its Client ID.
- Set the app's state to Enabled.
- Assign permission sets that cover the data your collectors and data targets will read and write.
Disconnect Business Central (User Sign-in Only)
To prevent DataBlend from accessing Business Central via this credential, select Disconnect on the Status pane.

Disconnecting the credential will not clear any data collected using this credential.
Re-connecting Business Central (User Sign-in Only)
In case when Business Central collector keeps cancelling from the system re-connecting credentials might be required.
-
Disconnect Business Central (note the credentials)
-
Enter credentials in browser incognito mode (not to interfere with your Microsoft account that your browser might be connected)
-
Connect
-
Test credentials
User Level Access
- “Super Data” user access level (User sign-in)
- Business Central License will also be required to successfully connect to our platform.
- App registrations need permission sets assigned on Business Central's Microsoft Entra Applications page instead of a user access level.
Troubleshooting
Business Central refused the app's token
This message means Business Central rejected the token for the App registration. Confirm that the app has been added on Business Central's Microsoft Entra Applications page, that it is set to Enabled, and that it has permission sets assigned. During collector and data target runs, the message also includes Business Central's own reason.