Create Organization Sharing Link
Create an organization or anonymous sharing link for a drive item in OneDrive.
Options
| Field | Definition | Type | Required |
|---|---|---|---|
|
Source |
Choose a source:
|
Dropdown | TRUE |
|
Scope |
Choose a type of scope for the sharing link:
|
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 |
|
Drive Item |
|||
|
File or Folder ID |
Unique ID of the file or folder. |
Text | TRUE |
|
Permissions |
|||
|
Roles |
Type of permission for the role:
|
Dropdown | TRUE |
|
Password |
Password of the sharing link that is set by the creator. Appears when |
Text | FALSE |
|
Expiration Date |
Indicates the expiration time of the permission. For example, yyyy-MM-ddTHH:mm:ssZ. Appears when |
Date & Time | FALSE |
Output
| Field | Definition | Type |
|---|---|---|
|
Sharing Link |
Sharing link that can be used to access this shared item. |
Text |
|
Permissions |
||
|
Permission ID |
Unique identifier of the permission among all permissions on the item. |
Text |
|
Roles |
The type of user permission. |
List of Text |
|
Link |
Provides the link details of the current permission, if it's a link type permissions. |
Text |
|
Expiration Date |
Indicates the expiration time of the permission. For example, yyyy-MM-ddTHH:mm:ssZ. |
Date & Time |
|
Has Password? |
|
True/False |
|
Raw Data |
Raw JSON payload returned from the Microsoft Graph API for this particular action. |
Object |
Additional information
By default, you cannot create an anonymous type sharing link for a file or folder in a group. You can only create an anonymous sharing link of file or folder in an organization.
Related topics
OneDrive connector
About the elements of Okta Workflows