Versions Compared

Key

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

In this Article

Table of Contents
minLevel1
maxLevel5

...

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

...

Configure Business Central Application, for the instance URL

  1. Log in to the to the Microsoft Business Central environment you need to connect, and enter aad in tell me, then choose the related link.

...

2. Choose New.

...

3. Enter Client ID and Description.

...

  1. application.

  2. Navigate to System administration > Setup > Azure Active Directory applications and Select New.

  3. Configure the fields for the new record:

    1. In the Client ID field, specify the application ID you registered in the Azure Active Directory.

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

    3. In the User ID field, select an appropriate service account user ID.

    4. Select Save to apply the changes.

Locate/Define the Information Required to Create your Business Central OAuth2 Account

...

  1. Navigate to the Business Central Snap of your choice and configure the Business Central OAuth2 Account with the following details:

    • Client ID: A Public Identifier for your app. Provide the Client ID that is auto-generated after creating the app in the <endpoint>

    • Client Secret: Secret value is known only to the app and the auth server. Provide the Client Secret that is auto-generated after creating the app in the <endpoint>.

    • OAuth2 Endpoint:

    • OAuth2 Token
      <Insert Account image>

  2. Click Authorize.
    You will be redirected to the login page of ServiceNow.

  3. Log into ServiceNow and accept the permissions.
    The Access token and the Refresh Token will be generated.

  4. Select the Auto-refresh token checkbox and save the account.Configure the OAuth2 account with the details from the registered application in the Business Central Portal.

...

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

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

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