Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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”

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

  4. Click “Register”

image-20240731-131710.png
Register an application in the Microsoft Azure Admin Portal
  1. After that, an overview of your application will be displayed The following information from this page will be required to set up the integration:

    1. Application (client) ID . This is the application ID that will be used as the user name in Business Central

    2. Copy and save this Application (client) ID, as it will be needed in BC

image-20240731-132400.png
Copy and save the Application (client) ID
  1. Create a client secret for the registered application.

    1. Select Certificates & secrets

    2. Select “+ New client secret.”

    3. Add a description, select a duration, and click Add.

image-20240731-145503.png
Create a client secret for the registered application.

Make sure to copy and save the secret as it will not be displayed ever again. It will be used as a password in the integration.

  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.

    3. Select Application permissions, select API.ReadWrite.All, then select Add permissions.

    4. Grant admin consent for that permission by selecting it in the list and then choosing Grant admin consent for <tenant name>.

This concludes registration of the Azure AD application.

  • No labels