SharePoint Online - Create List
Overview
The SharePoint Online - Create List Snap

- This is a Write-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.
- A valid account with the required permissions.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input |
This Snap has exactly one document input view. A document containing a representation of the list resource to create if you want to create a list. Alternatively, a document containing the representation of the list item resource to create a list item. |
|
| Output |
This Snap has exactly one document output view. A document containing the metadata of the created list or list item. |
|
| 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 - Create List Example: SharePoint Online - Create List |
Site*
String/Expression |
Specify the name of a site that contains the list of document libraries to be used in the subsequent Snap settings.
Default value: N/A Example: MySite |
Custom Site Path
Checkbox |
Select this checkbox if your site URL contains a custom path that deviates from the default site URL. Default site path always has the prefix 'site/' before the sitename. A custom site can contain the prefix 'team/' or have no prefix.
Default value: Deselected |
List name*
String/Expression |
Specify the name of the list. This field suggests all the lists that belong to the SharePoint Online site.
If you enable the Site property as an expression, then the document library is not suggested, resulting in an exception. Default value: N/A Example: Keylist |
Create List
Checkbox |
Select this checkbox to create a list. Deselect this checkbox to create a list item instead of the list.
Default value: Deselected |
| Connection details | Use this field set to specify connection properties to 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: 0 Example: 5 |
Retry Interval (seconds)*
Integer |
Specify the time interval in seconds between connection attempts.
Default value: 1 Example: 11 |
Snap execution
Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
|
For more information on how to create a list or list item in the SharePoint Online lists, refer to the Graph API documentation: list-create or list item-create.
Working with multi-select columns
When creating SharePoint Online list items using the SharePoint Online - Create List Snap, certain column types require additional OData metadata in the payload. This section explains how to populate the following column types:
- Choice column configured with Allow multiple selections
- Person or Group column configured with Allow multiple selections
Multi-value choice columns
For a SharePoint Choice column that allows multiple selections, Microsoft Graph API expects the value to be passed as an array of strings.
Add a field in the following format and set its value to "Collection(Edm.String)".
"{ChoiceColumnName}@odata.type": "Collection(Edm.String)"
Example: For a column named "ChoiceDemo", add the field [email protected] and set its value to Collection(Edm.String)
| Column Name | Type | Allowed Values |
|---|---|---|
| ProjectCategories | Choice (Multiple Selection) | Finance, Operations |

Multi-value person or group columns
For a SharePoint Person or Group column that allows multiple selections, Microsoft Graph API expects a collection of SharePoint user lookup IDs.
For a multi-select Person or Group column, configure the payload as follows:
"Collection(Edm.String)"→$Payload['<ColumnName>[email protected]']["382","21"]→$Payload.<ColumnName>LookupId
Example: For a column named ProjectApprover, configure the payload using [email protected] and ProjectApproverLookupId, where the values represent SharePoint user lookup IDs.
| Column Name | Type |
|---|---|
| ProjectApprover | Person or Group (Multiple Selection) |

For example, if the display name is "Choice column Demo", but the metadata contains "name": "ChoicecolumnDemo", then use ChoicecolumnDemo in the payload and Mapper Snap configuration.

Troubleshooting
| Error | Cause | Resolution |
|---|---|---|
| The specified listName/itemId was not found | Specified listname/itemId might not be available in the site. | Click the suggestion drop-down list and select the listName or enter the existing list name manually or verify the itemId exists. |
| Forbidden exception | Either the user or the app doesn't have sufficient permissions to read the metadata for the document library. | Ensure to provide the required permissions at both user and application level. |
| Name already exists | The listName already exists. | Use a unique name for the listName. |