Integrating external applications such as Power BI, Power Automate, or custom apps with Dynamics 365 Business Central requires a secure authentication method. Azure App Registration provides Client IDs, Secrets, and permissions necessary for OAuth 2.0 authentication.
This step-by-step guide walks you through the entire configuration.
Sign in to the Microsoft Azure Portal, search for App registrations, and open it.
Click New registration and enter a meaningful application name. Choose Accounts in this single tenant only and complete the registration.
Azure then provides the Application (Client) ID and Directory (Tenant) ID for authentication.
Open API permissions, choose Add a permission and select Dynamics 365 Business Central.
Finally, click Grant admin consent so the permissions become active for the entire tenant. This step can only be performed by an Admin user, and the app will not work until consent is granted.
Go to the Authentication section to configure redirect URLs.
Add the following web redirect URL manually: https://businesscentral.dynamics.com/OAuthLanding.htm
This is required for Business Central’s OAuth authorization flow, especially when integrating with external applications.
Under Mobile and desktop applications, select the third option marked (MSAL only) and confirm the configuration.
Navigate to Certificates & secrets and create a new client secret. Add a description and select the required expiration period.
Copy the Value immediately, Azure will not display it again. This value acts as the application’s password.
Open your Business Central environment and search for Microsoft Entra Applications. Create a new entry using the Client ID from Azure. Add a description, ensure the state is Enabled and assign an appropriate permission set.
After the entry is created, Business Central may require Grant Consent for the Entra application. This approval step must be performed by an Admin user, and the integration will not work until the consent is granted.
Share the following:
These values allow the external system to authenticate and access Business Central APIs.
Everything is now in place for secure authentication between external applications and Business Central.