Versions Compared

Key

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

In this article

Table of Contents
maxLevel2
absoluteUrltrue

...

Use this account type to connect SharePoint online Snaps that use SharePoint Online User Account.

Prerequisites

  • Valid Azure application with all the required API permissions.

  • Valid client ID and client secret.

...

ParameterData TypeDescriptionDefault ValueExample 

Label

String

Unique name for the account.

None

Sharepoint online OAuth2 Dev

Client ID

String

RequiredThe client ID associated with your Azure application. You can create the client ID as advised by your application provider

N/A

c3fb6e88-9ec0-468f-ba06-cc94525a8f1d

Client secret

String

RequiredThe client secret associated with your account. You can create the client secret as advised by your application provider.

N/A

N/A

Access token

String

Required. Auto-generated 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.

N/AN/A

Refresh token

StringRequired. The refresh token retrieval for the application is specified when setting up the account for the endpoint. There, the OAuth2 flow will be executed and the resulting refresh token can be stored in this property. If the refresh token is stored, then the access token can be refreshed automatically before it expires.N/AN/A

Access token expiration

IntegerThe access token expiration value.N/AN/A

OAuth2 Endpoint

String

Required. Authorization endpoint to authorize the application.

https://login.microsoftonline.com/<tenantName>.onmicrosoft.com/oauth2/v2.0/authorize

OAuth2 Token

String

Required. Token endpoint to get the access token.

https://login.microsoftonline.com/{tenantName}.onmicrosoft.com/oauth2/v2.0/tokenN/A

Token endpoint config

Use this fieldset to provide custom properties for the OAuth2 token endpoint. Click the + or - icons to respectively add or remove configuration rows.

Token endpoint parameter

StringDefines an optional token endpoint parameter value.N/Aresponse_type

Token endpoint parameter value

String

Provides custom properties for the OAuth2 auth endpoint.

N/Acode
Auth endpoint config

Use this field set to provide custom properties for the OAuth2 auth endpoint. Click the + or - icons to respectively add or remove configuration rows.

Auth endpoint parameter

String

Defines an optional authentication parameter.N/Ascope

Auth endpoint value

StringDefines an optional authentication parameter value.N/A
offline_access Sites.ReadWrite.All

Auto-refresh token

Checkbox

Refreshes the token automatically using the refresh token if the property is enabled. Otherwise, the token might expire and will not be automatically refreshed.DisabledN/A

...