Actions
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 Identifier | The identifier of the file to upload. You can create a file identifier using the Set File Variable action. |
File Name | The name of the file, including its extension. Note: Make sure to include the correct file extension based on the file type (e.g., for a JPEG image, use the format {FileName}.jpeg ). |
Parent ID | The ID of the parent folder. For Example: /FolderA ,/FolderA/FolderB .Note: If no input is provided, the file will be uploaded to the root folder. |
Site ID | The ID of the site. Can be obtained via the List Sites action. |
Example Output
Workflow Library Example
Upload File with Sharepoint and Send Results Via Email
Preview this Workflow on desktop