...
On the left navigation panel, navigate to Manage,andselect API permissions > Add a permission.
On the Request API permissions window, select Microsoft Graph > Dynamics 365 Business Central for the OAuth2 and Access Token Account.
Select Delegated Permissions or Application Permissions.
Select the permissions you require.
Click Add Permissions. You can view all the permissions added under Configured permissions.
Click Overview and select Add a Redirect URI. You will be redirected to the Platform configurations page.
Under Platform configurations, click Add a platform.
Select Web and specify a valid Redirect URI
https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/businesscentral
and click Configure. A popup message indicates that the application is successfully updated.
...
Log in to the Microsoft Business Central application.
Search for aad in the search box.
Navigate to Azure Active Directory Application and select New.
Configure the following fields for the new record:
In the Client ID field, specify the client ID that is generated from the registered application in the Azure Active Directory.
In the Description field, specify a name for the application.
Change the State to Enabled.
In the User Permission Sets, select the ellipsis (…)and select the required Permission Set.
Click Grant Consent to provide permission to access the Business Central Data.
Specify the Credentials and Validate the Snap Account
...
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.
Click Authorize. You are redirected to the sign-in page of the Azure Portal.
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.
Troubleshooting
Error | Reason | Resolution |
---|---|---|
Error 401 | The pipeline could not complete execution because of a connection error. | Reauthorize the account and retry. |
Snap Pack History
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...