Overview
Client-mode REST API connector for Excel workbooks in OneDrive and SharePoint through Microsoft Graph: sessions plus table rows and range read and write.BASE_ADDRESS defaults to https://graph.microsoft.com. Topics use data/excel-online/<object>/<verb>.
Authentication
Microsoft Entra ID OAuth 2.0 access token for Microsoft Graph (Files.ReadWrite or Files.ReadWrite.All / Sites.ReadWrite.All for app-only) in Authorization: Bearer {value.json.access_token}. Get the token from login.microsoftonline.com upstream (see the SharePoint and OneDrive connector).Notes
- Only .xlsx files in OneDrive for Business or SharePoint are supported by the Graph workbook API.
- workbook-session-id is optional; send an empty string to work sessionless, or create a persistent session with SessionCreate (body {“persistChanges”:true}) for many writes.
- RangeGet / RangeUpdate use range(address=‘A1:D10’); pass sheet and address in the payload.
Basic Syntax
Sources
- https://learn.microsoft.com/en-us/graph/api/resources/excel
- https://learn.microsoft.com/en-us/graph/api/workbook-createsession
- https://learn.microsoft.com/en-us/graph/api/table-post-rows
- https://learn.microsoft.com/en-us/graph/api/tablerow-list
- https://learn.microsoft.com/en-us/graph/api/range-get
- https://learn.microsoft.com/en-us/graph/api/range-update

