Microsoft Graph
Microsoft Graph API integration for Excel automation in OneDrive and SharePoint. This package provides comprehensive Excel file operations through Microsoft's cloud services, enabling you to automate spreadsheet tasks without requiring local Excel installation.
Key Features
- Cloud-based Excel automation via Microsoft Graph API
- Access Excel files in OneDrive and SharePoint
- OAuth2 authentication with automatic token refresh
- Complete worksheet management (create, read, update, delete)
- Cell and range operations
- Formula support
- Table creation and management
- Row and column operations
Authentication
The Microsoft Graph package uses OAuth2 authentication. You'll need to:
- Create an Azure AD application in the Azure Portal
- Configure the following permissions:
Files.ReadWrite.AllSites.ReadWrite.All
- Create a credential vault item with your OAuth2 credentials containing:
client_id: Your Azure AD application IDclient_secret: Your Azure AD application secrettenant_id: Your Azure AD tenant ID (optional, defaults to "common")
The package automatically handles token refresh and OAuth2 flow when needed.
Connection Modes
This package supports two authentication modes:
- Connect Node Mode: Use the Connect node once and pass the client ID to other nodes
- Direct Credentials Mode: Pass credentials directly to each node (useful for parallel operations)
Common Use Cases
- Automated report generation in Excel Online
- Data synchronization between systems and Excel files
- Batch processing of Excel data in SharePoint
- Cloud-based Excel file manipulation
- Multi-user Excel automation workflows
Getting Started
- Start with the Connect node to establish a connection
- Use List Files to find Excel files
- Use Get Workbook to open a specific file
- Perform operations like Get Range or Set Cell Value
- Close the connection with Disconnect
📄️ Activate Sheet
Robomotion.MicrosoftGraph.Excel.ActivateSheet
📄️ Clear Range
Robomotion.MicrosoftGraph.Excel.ClearRange
📄️ Clear Sheet
Robomotion.MicrosoftGraph.Excel.ClearSheet
📄️ Connect
Robomotion.MicrosoftGraph.Connect
📄️ Create Table
Robomotion.MicrosoftGraph.Excel.CreateTable
📄️ Create Workbook
Robomotion.MicrosoftGraph.Excel.CreateWorkbook
📄️ Create Worksheet
Robomotion.MicrosoftGraph.Excel.CreateWorksheet
📄️ Delete Cell
Robomotion.MicrosoftGraph.Excel.DeleteCell
📄️ Delete Column
Robomotion.MicrosoftGraph.Excel.DeleteColumn
📄️ Delete Row
Robomotion.MicrosoftGraph.Excel.DeleteRow
📄️ Delete Sheet
Robomotion.MicrosoftGraph.Excel.DeleteSheet
📄️ Disconnect
Robomotion.MicrosoftGraph.Disconnect
📄️ Get Cell Value
Robomotion.MicrosoftGraph.Excel.GetCellValue
📄️ Get Column
Robomotion.MicrosoftGraph.Excel.GetColumn
📄️ Get File Info
Robomotion.MicrosoftGraph.SharePoint.GetFileInfo
📄️ Get Formula
Robomotion.MicrosoftGraph.Excel.GetFormula
📄️ Get Range
Robomotion.MicrosoftGraph.Excel.GetRange
📄️ Get Row
Robomotion.MicrosoftGraph.Excel.GetRow
📄️ Get Workbook
Robomotion.MicrosoftGraph.Excel.GetWorkbook
📄️ Get Worksheet
Robomotion.MicrosoftGraph.Excel.GetWorksheet
📄️ Insert Column
Robomotion.MicrosoftGraph.Excel.InsertColumn
📄️ Insert Row
Robomotion.MicrosoftGraph.Excel.InsertRow
📄️ List Files
Robomotion.MicrosoftGraph.SharePoint.ListFiles
📄️ Set Cell Value
Robomotion.MicrosoftGraph.Excel.SetCellValue
📄️ Set Formula
Robomotion.MicrosoftGraph.Excel.SetFormula
📄️ Set Range
Robomotion.MicrosoftGraph.Excel.SetRange