Upload File
Upload a file to SharePoint.
- Least privileged Microsoft Graph permission to access the action via application:
Files.ReadWrite.All
. - Higher privileged Microsoft Graph permissions to access the action via application:
Sites.ReadWrite.All
.
External Documentation
To learn more, visit the SharePoint documentation.
Parameters
Parameter | Description |
---|---|
Drive ID | The ID of the drive. Can be obtained via the List Drives For Site action. |
File Content | The raw content of the file to upload. |
File Name | The name of the file to upload. |
Parent ID | The ID of the parent folder. |
Site ID | The ID of the site. Can be obtained via the List Sites action. |
Example Output
{
"id": "0123456789abc",
"name": "FileB.txt",
"size": 35,
"file": {}
}
Workflow Library Example
Upload File with Sharepoint and Send Results Via Email
Preview this Workflow on desktop