OneDrive
Connect Microsoft OneDrive so your agent can read your files.
Connect a Microsoft account to your XO project so your agent can read files from OneDrive. Credentials live in your project's workspace, not on the XO platform.
What You'll Need
- An XO project that has finished provisioning
- A Microsoft account with access to the OneDrive files you want your agent to read
Connect OneDrive
Name the Connection
Enter a name for the connection — e.g. onedrive-cowork — and click Continue. This is how the connection appears in your project.

Accept Permissions
Sign in to your Microsoft account if prompted, then click Accept to grant OneDrive access.

Paste the Verification Code
After granting permissions, Microsoft redirects to a 127.0.0.1/callback?...&code=... URL. Your browser will show "This site can't be reached" — that's expected. The URL itself contains the auth code.
Copy the full URL from your browser's address bar.

Switch back to the XO tab and paste it into the Verification code or URL field.

Don't worry about the connection error — XO doesn't run a local callback server. The auth code lives in the URL, not on the page.
Click Finish.

Your OneDrive is now connected. Your agent can read from it on subsequent runs.


