SharePoint Online Application Account

In this article

Overview

You can 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.

Limitations and Known Issues

None.

Account Settings

sharepoint-online-application-account.png

Ā 

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ( ): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the fieldset.

  • Remove icon ( ): Indicates that you can remove fields from the fieldset.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

Ā 

Default Value:Ā None
Example:Ā SharePoint Online Application Account

String

Specify a unique label for the account.

Ā 

ClientĀ ID*

Ā 

Default Value:Ā None
Example:Ā abcb6e88-9ec0-468f-ba06-cc123425a8f1d

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.

Client secret

Ā 

Default Value:Ā None
Example:Ā <encrypted>

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.

Access token

Ā 

Default Value:Ā None
Example:Ā <encrypted>

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.

Access token expiration

Ā 

Default Value:Ā None
Example:Ā 1658834044

String

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

OAuth2 Token*

Ā 

Default Value: None
Example:Ā https://login.microsoftonline.com/testTenant.onmicrosoft.com/oauth2/v2.0/token

String

Specify the token endpoint to get the access token.

Token endpoint config

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

Token endpoint parameter

Ā 

Default Value:Ā None
Example:Ā scope

String

Specify the name for the token endpoint parameter.

Ā 

Token endpoint parameter value

Ā 

Default Value:Ā None
Example:Ā https://graph.microsoft.com/.default

String

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

Auto-refresh token

Default Value:Ā Deselected

Checkbox

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

Troubleshooting

Error

Reason

Resolution

Error

Reason

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.

Snap Pack History

Ā 

Ā