Replace Workbook Contents
Replaces workbook file contents in Microsoft 365 Excel.
POST
Body
Arguments
stringrequired
Drive ID containing the workbook item. From Graph file output, use parentReference.driveId.
stringrequired
Drive item ID of the workbook file to replace. From the output shown, this is the top-level id.
stringrequired
Base64-encoded contents of a valid .xlsx workbook file. The action decodes this value and sends the raw workbook bytes to Microsoft Graph.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.