Grok + OneDrive
Can Grok Connect to OneDrive? Setup, Plans and Limits
Grok's OneDrive connector is on Business and Enterprise only and browses, reads and saves files. What it cannot change, and how to reorganize OneDrive.
The short answer
Grok connects to OneDrive through xAI's own connector, which xAI lists for Grok Business and Enterprise only. It browses folders, reads documents and saves files Grok made into OneDrive; xAI does not list search, moving, renaming or deleting, and sends full-text search to its SharePoint connector. A Grok admin provisions it and a Microsoft 365 admin approves it, and members sign in with a work or school account. With The Drive AI added to Grok as a custom connector, personal and work OneDrive are reorganized as one change you check first, and undone as one.
How to connect Grok to OneDrive
Step 1
An admin provisions it
On Grok Business and Enterprise, a team admin adds OneDrive in the xAI console with the organization's Azure AD tenant ID.
Step 2
Microsoft 365 consent
A Microsoft 365 administrator approves Grok's access to OneDrive, as for any outside app.
Step 3
Connect it yourself
At grok.com/connectors, find OneDrive, choose Connect, sign in with your Microsoft work or school account and accept.
Step 4
Add SharePoint for search
xAI says that for full-text search across your OneDrive files, you connect the SharePoint connector as well.
What Grok's OneDrive connector can and cannot do
It can
Browse files and folders in OneDrive, including nested folders
Read documents in OneDrive
Save files Grok made, such as spreadsheets and PDFs, into OneDrive
It cannot
Search OneDrive on its own; xAI points to the SharePoint connector
Move, rename or delete files, as far as xAI documents
Connect on a Free or individual plan; xAI lists Business and Enterprise only
Undo a set of changes as one
Troubleshooting
Grok's OneDrive connector not working?
- OneDrive is missing from Grok's connectors
- xAI lists it for Grok Business and Enterprise only, after a team admin provisions it. On another plan, add The Drive AI as a custom connector instead.
- Sign-in says an administrator has to approve
- A Microsoft 365 administrator grants consent for Grok's access to OneDrive. Send them the request from the sign-in screen.
- Grok cannot find a file by what it says
- xAI routes full-text search through its SharePoint connector. Connect SharePoint too, or use The Drive AI, which searches OneDrive by name and contents.
- You want to use a personal OneDrive
- xAI's setup asks for a work or school account. The Drive AI connects personal OneDrive and Outlook.com accounts.
Bigger jobs
Where it stops, and what The Drive AI adds
Grok'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 Grok as a second connector.
| Job | Grok's connector | With The Drive AI |
|---|---|---|
| Archive 3,000 old files | No moves, as far as xAI documents. | One change with a preview, approved once, run in the background. |
| Rename files from what they say | No renames, as far as xAI documents. | Each file named from its contents, as one change. |
| Personal OneDrive | Work or school accounts on Business and Enterprise. | Personal and work OneDrive. |
| OneDrive and Google Drive together | Separate connectors. | One folder tree, including moves between drives. |
| 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 Grok
It sits beside xAI's OneDrive connector 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.
Grok
Go to grok.com/connectors, click New Connector, choose Custom, enter the server URL and sign in. On Business and Enterprise, a team admin adds it first.
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 Grok access OneDrive?
On Grok Business and Enterprise, through xAI's OneDrive connector, after a team admin provisions it and a Microsoft 365 admin approves it. It browses, reads and saves files.
Can Grok organize my OneDrive?
Not by moving files: xAI does not list moving, renaming or deleting. With The Drive AI added as a custom connector, Grok can sort a folder or a whole OneDrive as one change you check first, and undo it as one.
Does Grok work with a personal OneDrive?
xAI's setup asks for a Microsoft work or school account. The Drive AI connects personal OneDrive accounts, and Grok reaches them through its custom connector.
Which plan do I need for The Drive AI?
Connecting OneDrive to The Drive AI comes with Max and Team. xAI says custom connectors are available to all Grok users.
One request for the whole drive.
Ask The Drive AI directly, or add it to Grok. Either way a large change comes back as a preview for you to confirm, and anything applied can be undone as a whole.
