Microsoft Office · Arazzo Workflow
Microsoft Office Discover and Download a OneDrive File
Version 1.0.0
Resolve the user's drive, browse the root, inspect an item, and download its content.
Provider
Workflows
drive-file-discovery-download
Locate a file in the OneDrive root by name and download its content.
Resolves the drive, enumerates root children, verifies the chosen item is a file, and retrieves its content stream. Graph answers the content request with a 302 redirect to a pre-authenticated download URL, or with the bytes directly, so both outcomes are treated as success.
1
resolveDrive
Resolve the signed-in user's OneDrive to confirm access and capture the drive id, type, and remaining quota before transferring any content.
2
browseRoot
List the items in the root of the drive so the caller can resolve a target file by name when only a human-readable name is known.
3
inspectItem
Read the target driveItem's metadata to confirm it exists and carries a file facet, which distinguishes a downloadable file from a folder.
4
downloadContent
Download the file's content. Graph either redirects to a short-lived pre-authenticated download URL or streams the bytes directly, so both a 302 and a 200 are accepted as success.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.