Versions Compared

Key

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

...

Field Name

Field Type

Description

Label*

Default Value: None
ExampleAccount Admin ApplicationSharepoint online OAuth2 Dev

String

Specify a unique label for the account.

Client ID*

Default Value: None
Examplec3fb6e88-9ec0-468f-ba06-cc94525a8f1d

String

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

Client secret

Default Value: None
Example: N/A

String

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

Access token

Default Value: None
Example: N/A

String

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.

Access token expiration

Default Value: None
Example: N/A

String

The access token expiration value.

OAuth2 Token*

Default Value:  https://login.microsoftonline.com/{tenantName}.onmicrosoft.com/oauth2/v2.0/token 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. Click the + or - icon to respectively add or remove configuration rows.

This fieldset comprises the following fields:

  • Token endpoint parameter

  • Token endpoint parameter value

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.

...

Error

Reason

Resolution

401 - Authentication failed

You have entered an incorrect client-id or client-secret.

Check and ensure that you have provided the correct and valid Client ID and Client Secret for the account and allowed the required access privileges to the application.

Snap Pack History