Actions14
File → Share
AI-generatedSummary
Create a sharing link for a specified file in Microsoft OneDrive with configurable permissions and scope.
Inputs
- File ID (required) — The unique identifier of the file to share.
- Type (required) — The type of sharing link to create: 'View', 'Edit', or 'Embed'.
- Scope (required) — The scope of the sharing link: 'Anonymous' for public access or 'Organization' for organizational access only.
Output shape
a single JSON object representing the sharing link created by the OneDrive API
The output contains details of the created sharing link, including the URL and permissions. No pagination or error envelopes; errors are thrown directly.