Versions Compared

Key

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

...

  1. On the left navigation panel, navigate to Manage,andselect API permissions > Add a permission.

  2. On the Request API permissions window, select Microsoft Graph > Dynamics 365 Business Central for the OAuth2 and Access Token Account.

    Image RemovedImage Added
  3. Select Delegated Permissions or Application Permissions.

  4. Select the permissions you require.

  5. Click Add Permissions. You can view all the permissions added under Configured permissions.

  6. Click Overview and select Add a Redirect URI. You will be redirected to the Platform configurations page.

    1. Under Platform configurations, click Add a platform.

    2. Select Web and specify a valid Redirect URI https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/businesscentral and click Configure. A popup message displays indicating that the application is successfully updated.

      Image RemovedImage Added

Configure the Business Central Application

  1. Log in to the Microsoft Business Central application.

  2. Search for aad in the search box.

  3. Navigate to Azure Active Directory Application and select New.

  4. Configure the following fields for the new record:

    1. In the Client ID field, specify the client ID that is generated from the registered application in the Azure Active Directory.

    2. In the Description field, specify a name for the application.

    3. Change the State to Enabled.

    4. In the User Permission Sets, select the ellipsis (…)and select the required Permission Set.

    5. Click Grant Consent to provide permission to access the Business Central Data.

      Image RemovedImage Added

Specify the Credentials and Validate the Snap Account

...

  1. Navigate to the Business Central Snap of your choice and configure the Business Central OAuth2 Account with the details from the registered application in the Business Central Portal.

    Image RemovedImage Added
  2. Click Authorize. The Access and Refresh tokens are generated. You are redirected to the sign-in page of the Azure Portal.

  3. Sign in to Azure Portal with valid credentials to redirect to the Snap Edit account settings dialog. The Access and Refresh tokens are auto-populated and encrypted in the Account settings.

  4. Validate the Snap Account.

...