Content & Documents · Integration
Microsoft OneDrive
Add Microsoft OneDrive to your product for your customers, and give your AI agents governed access to it.
A OneDrive integration lets your product work with files where a customer already keeps them: drives, the drive items and folders inside them, sharing links, and the permissions that govern both. Addressing is the thing to get right, because an item can be reached by id or by path and the two behave differently. A path breaks the moment somebody renames a parent folder, while an id survives a move, so an id is what your product should store. Change tracking uses a delta token rather than a timestamp, large files need a resumable upload session instead of one request, and a business drive inherits its permissions from SharePoint. fastn holds each account's grant, refreshes it and keeps up with Graph changes.
In your product
Embedded for your customers. Per-tenant auth, no per-customer code, maintained by fastn.
Let each customer connect their own drive so your product reads and files documents without asking them to upload copies.
Store item ids rather than paths, so a renamed folder does not break every reference your product kept.
Track changes with a delta token so your product notices new and edited files without walking the whole drive.
Create sharing links with the scope a customer expects, and read existing permissions before widening anything.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
An agent finds and reads a document in one customer's drive, within the permissions that grant allows.
An agent saves a generated report into the folder a customer nominated, and the item id is recorded.
An agent says who a file is currently shared with by reading its permissions rather than guessing.
Example prompt
Find the most recent version of this document in my OneDrive and tell me who it is shared with.
Set up Microsoft OneDrive in 4 steps
- 01Enable the Microsoft OneDrive connector from your fastn dashboard.
- 02Have each customer authorise their own Microsoft OneDrive account, so calls run under their credentials rather than a shared key.
- 03Decide which files, documents and versions your product needs, map those fields, then enable the actions and triggers you want.
- 04Call it from your product and expose it to your agents through the same governed connection.
Why teams use the Microsoft OneDrive integration
What you get by embedding it with fastn instead of building it yourself.
- Ship a Microsoft OneDrive integration without building it. Your customers connect their own Microsoft OneDrive account inside your product and work their files, documents and versions there, with no per-customer code on your side.
- Handle the part that actually costs time: permissions and versioning are easy to get subtly wrong, and mistakes expose content. fastn owns the auth, token refresh, rate limits, pagination and breaking-change fixes, so a Microsoft OneDrive update is not your on-call problem.
- One integration serves your product and your agents. The same governed Microsoft OneDrive connection powers in-product features and gives AI agents scoped, audited access, so you let your product work with your customers' documents in place without wiring it twice.
Used by these teams
Compare with
Often used alongside
Tools the same teams tend to run next to Microsoft OneDrive, across other categories.
Microsoft OneDrive integration FAQ
How do I add a Microsoft OneDrive integration to my product?
Enable the Microsoft OneDrive connector in your fastn dashboard, then let each customer authenticate their own Microsoft OneDrive account. fastn handles the OAuth flow, token storage and refresh per tenant, so there is no Microsoft OneDrive client code in your app and no per-customer branch in your codebase. Setup is 4 steps.
Do my customers each connect their own Microsoft OneDrive account?
Yes. Every connection is scoped to the individual customer, so each authorises their own Microsoft OneDrive account and only ever sees their own files, documents and versions. That per-tenant isolation is the point of an embedded integration: you support the long tail of customer setups without maintaining an integration per customer.
Can AI agents use this Microsoft OneDrive integration?
Yes. The same connection is exposed to your agents through the fastn MCP gateway, with permissions scoped per tenant and every call audited. An agent finds and reads a document in one customer's drive, within the permissions that grant allows.
Who maintains the Microsoft OneDrive integration?
fastn does. When Microsoft OneDrive changes an endpoint, deprecates a field or alters its auth, the fix lands in the connector rather than in your backlog, and your customers' connections keep working.
Whose permissions does the Microsoft OneDrive integration run under?
Each customer's own Microsoft OneDrive grant. Where Microsoft OneDrive holds a library, their existing folder and item permissions apply and your product cannot reach content the connected account could not reach itself. Where it processes content you supply rather than storing it, the call runs under that customer's own credentials and is logged per tenant.
Can my product create or update content in Microsoft OneDrive automatically?
Where Microsoft OneDrive supports writes, documents, entries and assets can be created, updated and filed from your product or by an agent within scoped permissions, with each action logged. Where it is a read surface, the same connection serves reads only.
What can I build with the Microsoft OneDrive integration?
A common starting point: let each customer connect their own drive so your product reads and files documents without asking them to upload copies. Teams also use it for the other use cases listed above, and expose it to agents for governed reads and writes.
How much does the Microsoft OneDrive integration cost?
It is included. Pricing is based on connected accounts, not on how many connectors you enable, so adding Microsoft OneDrive does not change your per-connector cost. You can start free with 3 connected accounts.
Add Microsoft OneDrive to your product
Start free with 3 connected accounts. No sales call required, and no per-customer integration code.