Skip to main content

Get Lists

Get the collection of lists for a site.

  • Least privileged Microsoft Graph permission to access the action via application: Sites.Read.All.
  • Higher privileged Microsoft Graph permissions to access the action via application: Sites.ReadWrite.All.
External Documentation

To learn more, visit the SharePoint documentation.

Parameters

ParameterDescription
FilterFilter sites based on a condition. For more information visit the Microsoft Graph filter docs.
Site IDThe ID of the site. Can be obtained via the List Sites action.

Example Output

{
"value": [
{
"id": "b57af081-936c-4803-a120-d94887b03864",
"name": "Documents",
"createdDateTime": "2016-08-30T08:32:00Z",
"lastModifiedDateTime": "2016-08-30T08:32:00Z",
"list": {
"hidden": false,
"template": "documentLibrary"
}
},
{
"id": "1234-112-112-4",
"name": "MicroFeed",
"createdDateTime": "2016-08-30T08:32:00Z",
"lastModifiedDateTime": "2016-08-30T08:32:00Z",
"list": {
"hidden": false,
"template": "genericList"
}
}
]
}

Workflow Library Example

Get Lists with Sharepoint and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop