Microsoft Dynamics 365 Business Central
Dernière mise à jour
Dernière mise à jour
This guide provides step-by-step instructions for integrating Microsoft Business Central APIs with your iconnek.io iPaaS platform using Microsoft Entra ID (formerly Azure AD) App Registration.
Before starting this integration, ensure you have:
Administrator access to Microsoft Entra ID (Azure AD)
Administrator access to Business Central
Your Business Central environment URL
A Business Central user with SUPER permissions
Navigate to App registrations in the left menu
Click + New registration
Enter application details:
Name: iconnek.io Business Central Connector
Supported account types: Select "Accounts in this organizational directory only"
Redirect URI: https://businesscentral.dynamics.com/OAuthLanding.htm
Click Register
Once registered, make note of:
Application (client) ID
Directory (tenant) ID
These values will be needed for your integration configuration.
In your App registration, select API permissions from the left menu
Click + Add a permission
Select Dynamics 365 Business Central under Microsoft APIs
If you don't see it, search for "Business Central"
Select Application permissions (for service-to-service communication without user context)
Check the following permissions:
API.ReadWrite.All (for full programmatic access)
Automation.ReadWrite.All (for workflow automation)
Or select specific permissions based on your requirements
Click Add permissions
Click Grant admin consent for [Your Organization] to pre-authorize these permissions
This step is crucial for Application permissions as they require admin consent before they can be used
In your App registration, select Certificates & secrets from the left menu
Under Client secrets, click + New client secret
Enter a description (e.g., "iconnek.io Integration Secret")
Select an expiration period (recommended: 12 months for regular rotation)
Click Add
IMPORTANT: Copy and securely store the client secret value immediately. It will not be visible again after you leave this page.
Sign in to Business Central with admin credentials
Search for Microsoft Entra Applications page using the search icon (🔍)
Click New to create a new application registration
Enter the Client ID (Application ID) from your Entra ID App registration
Enter a meaningful description (e.g., "iconnek.io Integration")
Set the State to Enabled
Save the registration
Create a new configuration in iconnek.io for Business Central
Configure the connector with:
Client ID: From App registration
Client Secret: From App registration
Tenant ID: Your Microsoft Entra ID tenant
Environment: Your environment name (e.g., "Production", "Sandbox")
Establish the connection
Authentication Failed
Verify client ID and secret are correct
Check that permissions have been granted admin consent
Ensure the application is properly registered in Business Central
API Access Denied
Verify the user has appropriate permissions in Business Central
Ensure the user has access to the company you're trying to access
Redirect URI Mismatch
Make sure the redirect URI in the authentication request exactly matches one configured in the app registration
Business Central Specific Errors
Check Business Central telemetry for detailed error messages
Review application event logs
Sign in to the
Set up the D365 BASIC
and D365 BUS FULL ACCESS
permission for the user group. Refer to the to assign permissions.