Download File
Download a file by its ID from OneDrive.
Options
| Field | Definition | Type | Required |
|---|---|---|---|
|
Source |
Choose a source:
Shared Link: add one or more shared items from another drive to their own OneDrive. |
Dropdown | TRUE |
Input
| Field | Definition | Type | Required |
|---|---|---|---|
|
Drive |
|||
|
Drive ID |
Unique ID for the drive requested. Appears when |
Text | TRUE |
|
Group |
|||
|
Group ID |
Unique ID for the group which owns the document library. Appears when |
Text | TRUE |
|
User |
|||
|
User ID |
Unique ID for the user object who owns the drive item. Appears when |
Text | TRUE |
|
Link |
|||
|
Shared Link |
Shared link of a file in OneDrive. Appears when |
Text | TRUE |
|
File |
|||
|
File ID |
Unique ID of the file. Appears when |
Text | FALSE |
A file must be at least 1 byte in size, but cannot be larger than 2 GB. See Workflows system limits.
Output
| Field | Definition | Type |
|---|---|---|
|
File Content |
Unique ID associated with the file content that was downloaded. |
Text |
Additional information
- To obtain User ID, Group ID, Drive ID or User ID information in the flow, use another Workflows Office 365 Mail connector card such as Read User or Search User.
- Admins can download files in another user's drive.
- Users must be part of the group from which they are downloading a file.
Related topics
OneDrive connector
About the elements of Okta Workflows