Versions Compared

Key

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

...

The Microsoft Business Central Snap Pack supports the following account types:

The permissions for the registered application are either Delegated or Application based on the account types.

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

    Image RemovedImage Added

...

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

...

  1. Image Added

...

  1. Select Delegated Permissions or Application Permissions.

    Image Modified

...

  1. Select the permissions you require.

    Image Modified

...

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

...

  1. Image Added

...

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

...

  1. Image Added

      ...

        1. Under Platform configurations, click Add a platform.

      ...

        1. Image Added

      ...

        1. 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.

      ...

        1. Image 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 on Grant Consent to provide permission to access the Business Central Data.

      ...

      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.

      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.

      Troubleshooting

      Error

      Reason

      Resolution

      Error 401

      The pipeline could not complete execution because of a connection error.

      Reauthorize the account and retry.

      Related Content