Get a list of all worksheets in the workbook, including their properties.

Least privileged Microsoft Graph permissions to access the action via delegated or application: Files.ReadWrite.

Note: Using the delegated (OAuth) connection type will only allow to insert the connected user’s ID.

External Documentation

To learn more, visit the Microsoft Excel documentation.

Basic Parameters

ParameterDescription
Drive IDThe unique identifier of the drive (OneDrive or SharePoint document library) that contains your Excel file.
FilterOptional filter string. Visit Microsoft’s documentation for more information.
Item IDThe ID of the Excel file to interact with.
LimitSets the page size of results.
OffsetThe pagination offset indicating the starting point for the next set of results.
Site IDThe ID of the SharePoint site containing your Excel file.
SourceChoose whether to pull your Excel file from SharePoint or OneDrive.
User IDThe User ID of the user whose OneDrive contains the Excel file.

Note: Using the delegated (OAuth) connection type will only allow to insert the connected user’s ID.

Advanced Parameters

ParameterDescription
Workbook Session IDThe session ID for maintaining context across multiple operations. Using a session improves performance and allows you to control whether changes are saved. If not provided, each operation runs independently which is less efficient.

For more information about the Workbook Session ID, refer to Microsoft’s documentation.

Example Output

{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('f6d92604-4b76-4b70-9a4c-93dfbcc054d5')/drive/items('01CYZLFJGUJ7JHBSZDFZFL25KSZGQTVAUN')/workbook/worksheets",
	"value": [
		{
			"@odata.id": "/drives('abc')/items('abc')/workbook/worksheets(123)/range(address=%27B6:C7%27)/insert()",
			"id": "{00000000-0001-0000-0000-000000000000}",
			"name": "Sheet1",
			"position": 0,
			"visibility": "Visible"
		},
		{
			"@odata.id": "/drives('abc')/items('abc')/workbook/worksheets(123)/range(address=%27B6:C7%27)/insert()",
			"id": "{00000000-0001-0000-0100-000000000000}",
			"name": "Sheet57664",
			"position": 1,
			"visibility": "Visible"
		}
	]
}

Workflow Library Example

List Worksheet Collection with Microsoft Excel and Send Results Via Email

Preview this Workflow on desktop