• 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.

To learn more, visit the SharePoint documentation.

Parameters

ParameterDescription
Drive IDThe ID of the drive. Can be obtained via the List Drives For Site action.
File ContentThe raw content of the file to upload.
File NameThe name of the file to upload.
Parent IDThe ID of the parent folder.
Site IDThe 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