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
ExampleSharePoint Online Application Account

String

Specify a unique label for the account.

 

Client ID*

 

Default Value: None
Exampleabcb6e88-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
Example1658834044

String

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

OAuth2 Token*

 

Default Value: None
Examplehttps://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
Examplescope

String

Specify the name for the token endpoint parameter.

 

Token endpoint parameter value

 

Default Value: None
Examplehttps://graph.microsoft.com/.default

String

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

Auto-refresh token

Default ValueDeselected

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