Actions14
File → Share
AI-generatedSummary
Generate a sharing link for a specified file in Microsoft OneDrive using its file ID, with configurable link type and access scope.
Inputs
- File ID (required) — The unique identifier of the file to create the sharing link for.
- Type (required) — The type of sharing link to create, options are 'view', 'edit', or 'embed'.
- Scope (required) — The access level of the sharing link, either 'anonymous' for anyone with the link or 'organization' for internal use.
Output shape
a single JSON object
The operation returns the created sharing link object from Microsoft Graph API, containing the sharing URL and related metadata.