SharePoint Online Application Account

Overview

You can configure your accounts in SnapLogic using the Designer or Manager. Use this account type to connect SharePoint Online Snaps with data sources that use the SharePoint Online Application account.



Prerequisites

  • Valid Microsoft Azure application with all the required API permissions.
  • Valid client ID and client secret.

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: SharePoint Online Application Account

Client ID*

String
Specify the Client ID associated with your Azure application. You can create the Client ID as advised by your application provider. Learn more about generating the Client ID.

Default value: N/A

Example: abcb6e88-9ec0-468f-ba06-cc123425a8f1d

Client secret

String
Specify the Client secret associated with your account. You can create the client secret as advised by your application provider. Learn more about generating the Client secret.

Default value: N/A

Example: <encrypted>

Access token

String
Autogenerated after authorization. The access token associated with the Azure application is used to make API requests on behalf of the user associated with the client ID.

Default value: N/A

Example: <encrypted>

Access token expiration

String
Specify the time (in seconds) until which the access token is valid.

Default value: N/A

Example: 1658834044

OAuth2 Token*

String
Specify the token endpoint to get the access token.

Default value: N/A

Example: https://login.microsoftonline.com/testTenant.onmicrosoft.com/oauth2/v2.0/token

Token endpoint config Use this fieldset to provide custom properties for the OAuth2 token endpoint.
Token endpoint parameter

String
Specify the name for the token endpoint parameter.

Default value: N/A

Example: scope

Token endpoint parameter value

String
Specify the value for the parameter, typically the default scope.

Default value: N/A

Example: https://graph.microsoft.com/.default

Auto-refresh token

Checkbox
Select this checkbox to refresh the token automatically. If you deselect this field, the token expires and is not refreshed automatically.

Default value: Deselected

Note: Click Validate after entering the required details to ensure that all fields have been filled accurately. Click Apply to save the settings.

Troubleshooting

Error Cause Resolution
401 - Authentication failed You have entered an incorrect Client ID or Client secret. Ensure that you have provided the correct and valid Client ID and Client secret for the account and allowed the required access permissions to the application.