Unitalk Microsoft OneDrive icon

Unitalk Microsoft OneDrive

Consume Microsoft OneDrive API

Folder → Share

AI-generated

Summary

Create a sharing link for a specified OneDrive folder with a selected link type and scope.

Inputs

  • Folder ID (required) — The ID of the folder for which to create the sharing link.
  • Type (required) — The type of sharing link to create; options are 'view', 'edit', or 'embed'.
  • Scope (required) — The scope of the sharing link; can be 'anonymous' to allow anyone with the link or 'organization' to restrict to the user's organization.

Output shape

a single record containing the sharing link details

The output contains the response from the Microsoft OneDrive API's createLink endpoint, typically including details such as the URL of the sharing link and its permissions.

Examples

Example 1: Create a view-only anonymous sharing link for a folder

Set Folder ID to the target folder's ID, Type to 'view', and Scope to 'anonymous'.

Links

Discussion