Azure App registration

Prev Next

App registration setup for Business Central web services OAuth authentication

Open portal.azure.com, search for App registrations:

Click New registration:

Fill the necessary fields:

Name – logical name for the Application

Supported account types – select Single Tenant Redirect URL – important to add https://businesscentral.dynamics.com/OAuthLanding.htm

Click Register and choose API permissions menu, then add a new permission:

Add these permissions for API access:

If Power BI integration will be used add these permissions also:

After adding the permissions, click Grant admin consent for <Company name>  

Next go to Certificates & secrets and create a new client secret. Copy Value and save it for use later:

Next go to Overview menu and copy Application (Client) ID, save this value for use later:

Now we have all the credentials necessary for OAuth authentication:

Azure Tenant ID

Application (Client) ID (from Overview tab)

Secret Value (from Certificates & secrets tab)