SharePoint Online - Read List
Overview
The SharePoint Online - Read List Snap
For more information about reading a list in SharePoint Online, refer to the Graph API in list-get.

- This is a Read-type Snap.
Works in Ultra Tasks. However, we recommend that you do not use this Snap in an Ultra Pipeline.
Prerequisites
- Valid SharePoint Online tenant and associated site.
- Valid Azure application with all the required API permissions.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input |
This Snap has at most one document input view. An input document that contains the metadata of the list to be retrieved. |
|
| Output |
This Snap has exactly one document output view. An output document contains the metadata information of a list. |
|
| Learn more about Error handling. | ||
Snap settings
| Field/Field set | Description |
|---|---|
Label*
String |
Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: SharePoint Online - Read List Example: SharePoint Online - Read List |
Site*
String/Expression |
Specify the name of a site which contains the list of document library to be used in the subsequent Snap settings.
Default value: N/A Example: MySite |
Custom Site Path
Checkbox |
Enable this option if your site URL contains a custom path that deviates from the default site URL. Default site path always has a prefix 'sites/' before the sitename, a custom site can contain the prefix 'teams/' or it can have no prefix.
Default value: Deselected |
List name
String/Expression/ Suggestion |
Select a list name from the document library suggestions provided in this field. The suggested list names pertain to the SharePoint Online site specified already.
Note: This field cannot provide any document library suggestions when you define Site as an expression. This may result in an exception for suggestions.
Default value: N/A Example: Demolist |
Item ID
String/Expression/ Suggestion |
Specify the unique item ID of the Item to be read.
Default value: N/A Example: 7852452664 |
Select fields
String/Expression |
Specify the comma-separated field/column names from the metadata to be included to the output view.
Default value: N/A Example: id, webUrl, lastModifiedBy |
Get items
Checkbox |
Select to get the items of the specified list along with the list metadata.
Note: The Snap returns a maximum of only 200 records when you select this checkbox.
Default value: Deselected |
Get columns
Checkbox |
Select to get the column metadata along with the list metadata.
Default value: Deselected |
Auto pagination
Checkbox |
Select this checkbox to retrieve all items within the selected folder/directory. If not selected (by default), the Snap returns a maximum of 200 records per page.
Default value: Deselected |
| Connection details | Use this field set to configure connection properties for the SharePoint Online APIs. |
Connection Timeout*
Integer |
Specify the connection timeout duration in seconds.
Default value: 30 Example: 40 |
Number of Retries*
Integer |
Specify the maximum number of reconnections in case of a connection failure or timeout.
Default value: 3 Example: 5 |
Retry Interval (seconds)*
Integer |
Specify the time interval in seconds between connection attempts.
Default value: 10 Example: 11 |
Snap execution
Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
|
Troubleshooting
| Error | Cause | Resolution |
|---|---|---|
| HTTP Response Code:404 | Entered item not found in the document library | Ensure to provide the valid item path to get the metadata. |
| Forbidden exception:403 | Either the user or app doesn't have sufficient permissions to read the metadata for the document library. | Ensure to provide the desired permissions both at the user and application level. |