Integrations
Microsoft OneDrive logo

Microsoft OneDrive integration

Cloud Infrastructure · 11 actions · OAuth auth

Access and manage files in Microsoft OneDrive: search, list, upload, download, create folders, and create sharing links via the Microsoft Graph API.

Overview

The ModuleX Microsoft OneDrive integration lets a ModuleX agent operate Microsoft OneDrive on your behalf — running create, find and list actions across folders, links and files — directly from a plain-English request, using your organization's own Microsoft OneDrive credentials. No pre-built workflow is required: the agent picks the right Microsoft OneDrive action for the task.

Microsoft OneDrive is a cloud infrastructure platform. ModuleX adds the agent layer: ask for an outcome and it selects and runs the right Microsoft OneDrive action — or, when you want a repeatable process, the composer assembles a Microsoft OneDrive workflow for you, streaming the nodes onto the canvas as it builds.

Ask the assistant

Drive Microsoft OneDrive in plain English

Type what you want. A ModuleX agent picks the right Microsoft OneDrive action — or chains several — and runs it. No workflow to build.

  • Create a new folder in a drive
    resolves tocreate_folder
  • Show me the file by names that match what I describe
    resolves tofind_file_by_name
Use cases

What you can automate with Microsoft OneDrive

  • Create a folder straight from a requestcreate_folder
  • Download a file on demanddownload_file
  • Find the file by names that match what you describefind_file_by_name
  • Look up an excel table on demandget_excel_table
  • Pull a list of files in folders for a reportlist_files_in_folder
At a glance

Microsoft OneDrive integration at a glance

CategoryCloud Infrastructure
Actions available11
AuthenticationOAuth
Uses your own credentialsYes
Works with the assistantYes
Works in the composerYes
Multi-step / tool-chainingYes
Technical referenceView docs
Integration version1.0.0
Last updatedJun 2026
Reference

All 11 Microsoft OneDrive actions

Folders1
create_folder
Create a new folder in a drive. See https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_post_children
Links1
create_link
Create a sharing link for a DriveItem. See https://docs.microsoft.com/en-us/graph/api/driveitem-createlink
Files3
download_file
Download a file stored in OneDrive. Returns the file content as base64-encoded data plus the saved /tmp path. See https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get_content
search_files
Search for files and folders in Microsoft OneDrive. See https://learn.microsoft.com/en-us/graph/api/driveitem-search
upload_file
Upload a file to OneDrive by providing a publicly-accessible source URL. The file is streamed from the URL into OneDrive under the given folder. See https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_put_content
File by Names1
find_file_by_name
Search for a file or folder by name. See https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_search
Excel Tables1
get_excel_table
Retrieve a table from an Excel spreadsheet stored in OneDrive. The table must exist within the Excel spreadsheet. See https://learn.microsoft.com/en-us/graph/api/table-range
File by Ids1
get_file_by_id
Retrieve a file by ID. See https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get
Files in Folders1
list_files_in_folder
Retrieve a list of the files and/or folders directly within a folder. See https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_list_children
My Drives1
list_my_drives
Get the signed-in user's drives. Returns a list of all the drives the user has access to, including the personal OneDrive. See https://learn.microsoft.com/en-us/graph/api/drive-list
Shared Folder Reference Options1
list_shared_folder_reference_options
Retrieve available shared folder references. Useful as input to the shared_folder_reference parameter of create_folder.

See full parameters and response schemas in the Microsoft OneDrive integration docs

Two ways

Two ways to use Microsoft OneDrive in ModuleX

Ask the assistantType what you want done and a ModuleX agent picks the right Microsoft OneDrive action and runs it — no workflow to build.
Compose a workflowNeed it to happen every time? Describe the process and the composer wires Microsoft OneDrive into a repeatable workflow you can run on a schedule, from chat, or as an API.
Security

Connecting Microsoft OneDrive

OAuthMicrosoft OneDrive uses OAuth. You connect your Microsoft OneDrive account once; ModuleX stores the access token encrypted and scoped to your organization, so your team shares a single secure connection.

Step-by-step setup in the Microsoft OneDrive docs

Related

Pairs well with Microsoft OneDrive

Agents often chain Microsoft OneDrive with these — connect them once and the agent can use all of them in a single task.

FAQ

Microsoft OneDrive + ModuleX FAQ

A ModuleX agent can run any of Microsoft OneDrive's 11 actions — across folders, links, files and file by names — from a plain-English request, using your organization's own Microsoft OneDrive credentials.
No. The agent selects the right Microsoft OneDrive action from your prompt. A workflow is only needed when you want a repeatable process — and the composer builds that for you from a description.
Through OAuth — you connect your Microsoft OneDrive account once and ModuleX stores the token encrypted, scoped to your organization.
11, spanning folders, links, files and file by names.
Microsoft OneDrive runs on your own credentials, so any Microsoft OneDrive usage is billed by Microsoft OneDrive directly. ModuleX meters the agent run — and if you connect your own model keys, there's no ModuleX markup on model usage.

Put Microsoft OneDrive to work in ModuleX.

Connect Microsoft OneDrive once with your own credentials and let your agent run all 11 actions on demand.

Last updated: Jun 2026Browse all 175 integrations →