SharePoint Online Account

In this article

Overview

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

Prerequisites

  • Valid Azure application with all the required API permissions.

  • Valid client ID and client secret.

Limitations and Known Issues

None.

Account Settings


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

Troubleshooting

ErrorReasonResolution
Authentication failed.You have entered an incorrect client-id or client-secret.Check your client-id and client-secret. 

Snap Pack History

 Click here to expand...

Release

Snap Pack Version 

Date

Type

Updates

4.29main108 StableUpgraded with the latest SnapLogic Platform release.
4.28 Patchesmain101 LatestFixed the Auto Refresh Token issue in the SharePoint Online Account.
4.28main100 StableAdded the SharePoint Online - Get Sites Snap that enables you to get the list of sites specific to the logged-in user from the SharePoint Online site.
4.27main93 StableUpgraded with the latest SnapLogic Platform release.
4.26main89 LatestEnhanced all Snaps in the SharePoint Online Snap Pack to support dynamic site and document library values using input document variables.
4.26main88 StableUpgraded with the latest SnapLogic Platform release.
4.25main75 StableNo updates made.
4.24main75 StableNo updates made.
4.23main74 LatestFixes the error view issue in SharePoint Online - Upload File Snap by dragging a new instance of SharePoint Online - Upload File Snap to the canvas as the existing Snap that was used with a version that contained the bug will continue to fail.
4.23main74 Latest

Fixes the socket timeout issue in the Snap Pack by making the following changes:

  • Modifies the code to return the ProxyHttpClient instead of the basic HTTP client and handle the custom siteName.
  • Fixes the broken JUnit and code for pagination in the SharePoint Online - List Read Items Snap.
4.23main73 LatestIntroduces a new Snap, SharePoint Online - List Read Items Snap, that enables you to read, sort, and filter list items from your SharePoint Online libraries/collections.
4.22 Patchesmain39 StableFixes the Snap document link for SharePoint Online - List Read Items.
4.22-Patches422patches6694 Latest
  • Fixes the List Read Snap NPE(null pointer exception) failure, when the List Name field is empty.
  • Fixes the Search Items Snap issue by providing the same result set when more than one document is passed.
4.22main6403 Stable

No updates made.

4.21-Patches421patches6011 
  • Latest
  • Stable
Introduces the productized version of SharePoint Online Snap Pack, which enables organizations to share and manage content and collaborate across an organization

4.21

snapsmrc535

 

Latest

Beta release of the SharePoint Online Snap Pack


See Also