Business Central Access Token Account

Overview

Use this account type to connect Business Central Snaps with data sources that use the Access Token dynamically. This account type is useful when you already have an access token and want to use it directly without going through the OAuth2 authorization flow.


Business Central Access Token Account

Prerequisites

Account settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label*

String

Specify a unique label for the account.

Default value: N/A

Example: Business Central Access Token Account
Access Token*

String/Expression

Specify the access token for authentication. This token is used to authenticate API requests to Microsoft Dynamics 365 Business Central.

Default value: N/A

Example: eyJ0eXAiOiJKV1QiLCJhbGc...
Instance URL*

String

Specify the host URL of the Business Central application in the following format: https://api.businesscentral.dynamics.com/v2.0/<environment-name>/api/v2.0

Default value: N/A

Example: https://api.businesscentral.dynamics.com/v2.0

Troubleshooting

Error Reason Resolution
One or more required fields is/are blank. After clicking Apply in the account dialog window, one or more of the following fields are blank: Label, Access Token, or Instance URL. Specify valid values in the Label, Access Token, and Instance URL fields and click Apply.
Error while executing the request (Unauthorized) The credentials provided are incorrect [HTTP/1.1 401 Unauthorized] Provide a valid access token and retry.
Instance URL is invalid or wrong. Target host is null. Update the Business Central Instance URL with a valid URL.