Gemini + OneDrive
Can Gemini Connect to OneDrive? What Works Without an App
The Gemini app has no OneDrive connected app. What works with OneDrive files in Gemini, and how to organize OneDrive from Gemini with a preview and undo.
The short answer
The Gemini app has no OneDrive connected app: Google's list of connected apps has Google Workspace and Dropbox, and not OneDrive. Gemini reads a OneDrive file you attach. Gemini Enterprise can add OneDrive as a data source that an admin sets up, for search across company content. With The Drive AI added to Gemini, personal and work OneDrive are reachable from any Gemini chat, and a folder is reorganized as one change you check first, including moves between OneDrive and Google Drive, and undone as one.
How to use Gemini with OneDrive
Step 1
Attach a file
Download the file from OneDrive, or pick it from a synced folder, and attach it. Google lists up to 10 files in a prompt, most up to 100 MB.
Step 2
There is no OneDrive app to connect
Google's list of connected apps for the Gemini app covers Google Workspace, Dropbox and others, and not OneDrive.
Step 3
Connect OneDrive to The Drive AI
In The Drive AI, connect OneDrive once. A work OneDrive needs Microsoft admin consent, as for any outside app.
Step 4
Add The Drive AI as an MCP server
On gemini.google.com, open Settings, turn on Developer mode and add https://mcp.thedrive.ai/mcp as an MCP server, or use Connected Apps, Add a custom app. Sign in to The Drive AI when it asks.
What Gemini can and cannot do with OneDrive
It can
Read OneDrive files you attach, up to 10 in a prompt
Search OneDrive as a data source in Gemini Enterprise, once an admin adds it
Work on OneDrive through The Drive AI, asking before every write
It cannot
Connect OneDrive in the consumer Gemini app
Move, rename or sort OneDrive files on its own
Undo a set of changes as one
Troubleshooting
Gemini cannot see your OneDrive?
- Looking for OneDrive in Gemini's connected apps
- Google lists none for OneDrive. Add The Drive AI on gemini.google.com, under Settings, Developer mode or Connected Apps, and connect OneDrive to The Drive AI.
- Your company uses Gemini Enterprise
- An admin can add OneDrive as a data source for search. Reorganizing files is a separate job, which The Drive AI does as one change you check first.
- Too many files to attach
- Google lists up to 10 files in a prompt. To work on a whole folder, connect OneDrive to The Drive AI instead.
Bigger jobs
Where it stops, and what The Drive AI adds
Gemini's connector works one change at a time. For a whole folder, a whole drive, or more than one drive, ask The Drive AI directly, or add it to Gemini as a second connector.
| Job | Gemini on its own | With The Drive AI |
|---|---|---|
| Sort a folder of loose files | Not possible. | One change with a preview, approved once, run in the background. |
| Rename files from what they say | Attach each one and rename it yourself. | Each file named from its contents, as one change. |
| Undo a reorganization | Nothing to undo. | One request reverses the whole change. |
| OneDrive and Google Drive together | Google Drive by connected app; OneDrive by attachment. | One folder tree, including moves between them. |
| Rules for the whole team | Each person connects and asks on their own. | One workspace: rules an owner or admin sets apply to everyone, and each person acts as themselves. |
| New files, as they arrive | The connector acts only when someone asks. | A workflow reads each file as it lands and files it; anything it holds for a person shows up in their Today brief. |
| Learns where your team files things | The connector keeps no record of where things go. | When someone moves a filed document, later filings follow. Kept in your workspace; nothing trains on your files. |
Set up once
Add The Drive AI to Gemini
It sits beside file attachments in Gemini rather than replacing it. Connecting OneDrive to The Drive AI comes with Max and Team; files in The Drive AI workspace work on every plan.
Gemini
On gemini.google.com, open Settings, turn on Developer mode and add the server URL as an MCP server (or use Connected Apps, Add a custom app), then sign in. Google's help lists custom apps for the US on personal Google Accounts, 18 and over.
Server URL
https://mcp.thedrive.ai/mcp
Prompts for OneDrive
In my OneDrive, find files nobody has changed since before 2023 and propose moving them into an Archive folder, by year. Leave everything in Documents/Current alone.
Old files get out of the way as one change you can check and reverse, not thousands of moves.
What is taking up the most space in my OneDrive? List the biggest folders and any file over 500 MB.
Every folder is measured at once, and nothing changes until you decide what goes.
Move my OneDrive Photos folder into Google Drive under Photos, keeping the folder structure. Check each copy before removing anything from OneDrive.
Files go drive to drive, so nothing is downloaded to your computer.
Common questions
Checked against the publishers' documentation and the connector's own tool list on 2026-11-25. Sources:
Can Gemini connect to OneDrive?
Not in the consumer Gemini app: Google lists no OneDrive connected app. Gemini Enterprise can add OneDrive as a data source. With The Drive AI added to Gemini, any Gemini chat can work on OneDrive files.
Can Gemini organize OneDrive?
Not on its own. With The Drive AI added, Gemini can sort, rename and move OneDrive files as one change you check first, confirming each write, and undo it as one.
Does an admin have to approve The Drive AI?
For a personal OneDrive, no. A work OneDrive needs Microsoft admin consent once, as for any outside app.
Which plan do I need for The Drive AI?
Connecting OneDrive to The Drive AI comes with Max and Team. Gemini adds it from Settings, Developer mode or Connected Apps on the web.
One request for the whole drive.
Ask The Drive AI directly, or add it to Gemini. Either way a large change comes back as a preview for you to confirm, and anything applied can be undone as a whole.
