Create a new worksheet in the workbook.

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.
Item IDThe ID of the Excel file to interact with.
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.
Worksheet NameA unique name for the new worksheet.

If left blank, Excel will automatically generate a name like Sheet1, Sheet2, etc.

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#drives('abc')/items('abc')/workbook/worksheets/$entity",
	"@odata.id": "/drives('abc')/items('abc')/workbook/worksheets(123)/range(address=%27B6:C7%27)/insert()",
	"id": "{86138AC8-AA75-4AF7-BEC3-D0E4806A26A4}",
	"name": "Sheet2",
	"position": 1,
	"visibility": "Visible"
}

Workflow Library Example

Add Worksheet Collection with Microsoft Excel and Send Results Via Email

Preview this Workflow on desktop