Upload a file to OneDrive.
Choose a source:
Unique ID for the drive requested.
Unique ID for the group which owns the document library.
Unique ID for the user object who owns the drive item.
|Parent Folder ID||Unique ID of the parent folder where the file is uploaded.||String||TRUE|
Name of the file. The uploaded file will contain the specified name. The name must include the extension of the file type.
For example, fileName.jpg.
|File Content||Unique ID associated with the file content.||Object||TRUE|
|Description||Provides a user-visible description of the file.||String||FALSE|
A file must be at least 1 byte in size, but cannot be larger than 2 GB. See Workflows system limits.
Only files that are already stored in the Workflows platform file system can be uploaded. Local files cannot be uploaded to OneDrive using this action card.
|File Name||Name of the file.||String|
|File ID||Unique ID of the file.||String|
If the naming of the uploaded file conflicts with an existing file, the existing file will be replaced by the upload file.
When uploading a file from a group, the user must be part of the group.
Admins can upload files that are in another OneDrive drive or group. In addition, admins can upload files for another user. Files created by the admin are shown as created by the admin.