Skip to main content

Microsoft OneDrive

Prefer guided AI setup?

Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.

Overview

Connect your Microsoft OneDrive account to Nirvai to automate file storage, sharing, and document management workflows.

Supported Authentication Methods

  • OAuth2

Prerequisites

  • A Microsoft account (personal or Microsoft 365)
  • OneDrive access

Setup Instructions

  1. In Nirvai, go to Credentials > Add Credential
  2. Select Microsoft OneDrive OAuth2
  3. Click Authorize
  4. Sign in with your Microsoft account
  5. Review and accept the requested permissions:
    • Read and write files
    • Access file metadata
  6. You'll be redirected back to Nirvai with your credential saved

Permissions Requested

  • Files.ReadWrite.All: Full access to all files
  • Files.Read.All: Read access to all files

What You Can Do

  • Upload and download files
  • Create, move, and delete files/folders
  • Share files and folders
  • Search for files
  • Access shared files

OneDrive Types

  • Personal OneDrive: For individual Microsoft accounts
  • OneDrive for Business: For Microsoft 365 organizational accounts

Troubleshooting

Common Issues

  • Access Denied: Verify file permissions
  • File Not Found: Check the file path or ID
  • Quota Exceeded: Check your OneDrive storage

Adapted from Microsoft documentation for Nirvai platform


Next Steps

Got your credential? Connect it to an agent

Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.