Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Before using the integration it is necessary to configure credentials that will be used for accessing API of the Dynamics 365 Business Central instance. To configure the credentials, follow the instructions below.

1. Register an Azure AD application for authentication to Business Central

  1. Sign in to the Azure portal: https://portal.azure.com

  2. Search for “App registrations”

  3. Create a new registration

    1. Name. A unique name for your application

    2. Supported account types. Select Accounts in this organizational directory only (Microsoft only - Single tenant)

    3. Request URI.

      1. Choose “Public client/naite”native”

      2. Specify https://businesscentral.dynamics.com/OAuthLanding.htm

  4. Click “Register”

...

image-20240731-145503.png
Create a client secret for the registered application.
  1. Make sure to copy and save the secret as it will not be displayed ever again.

Note

Make sure that you copy and save the Client Secret “Value” field immediately! It will be used as a password in the integration.

image-20240731-150304.pngImage Added
Copy and save the Client Secret “Value” field!
  1. Grant the registered application the API.ReadWrite.All permission to the Dynamics 365 Business Central.

    1. Select API permissions > Add a permission > Microsoft APIs.

    2. Select Dynamics 365 Business Central.

image-20240731-150636.pngImage Added
Add API permissions (1/2)
  1. Select Application permissions, select API.ReadWrite.All, then select Add permissions.

image-20240731-150836.pngImage Added
Add API permissions (2/2)
  1. Grant admin consent for that permission by selecting it in the list and then choosing Grant admin consent for <tenant name>.

...

image-20240731-151106.pngImage Added
Make sure to grant admin consent to the API (1/2)
image-20240731-151235.pngImage Added
Make sure to grant admin consent to the API (2/2)
Tip

This concludes registration of the Azure AD application

...

in the Azure Portal

Please proceed with the next step:

Configure a Microsoft Entra application in Business Central