Microsoft OneDrive icon

Microsoft OneDrive

Consume Microsoft OneDrive API

File → Share

AI-generated

Summary

Create a OneDrive sharing link for a file by sending its ID, link type, and scope to Microsoft Graph. The operation returns the API response as JSON for each input item.

Inputs

  • File ID — OneDrive file ID to create the sharing link for.
  • Type — Link type: View, Edit, or Embed.
  • Scope — Who can use the link: Anonymous or Organization.

Output shape

A list of JSON items, one per input item, containing the Microsoft Graph createLink response.

The API request includes the selected type and scope in its body. The UI does not mark these fields as required; request failures follow the node's normal error handling, or produce an error item when Continue On Fail is enabled.

Links

Discussion