Skip to content
← Connectors Directory

Command · Knowledge & Docs

Microsoft OneDrive

Import files from a user's OneDrive via the Microsoft Graph API.

ImportAuth: Microsoft OAuth

How it works

OneDrive connects with Microsoft OAuth. You sign in as the account that owns the files, and Command reads them through the Microsoft Graph API.

01

Before you start

  • A Microsoft 365 or personal Microsoft account with OneDrive
  • Tenant admin consent if your organization restricts third-party apps
02

What you need to make the connection

FieldWhere to get it
Microsoft sign-inInteractive OAuth — no keys to copy. Command requests Files.Read and offline_access.
Folder selectionChosen from a folder browser in Command after sign-in.

Credentials are stored encrypted in raia Command and are never shown again after saving. Rotate them at the provider if they are exposed.

03

Setup steps

  1. 01

    In raia Command, open Settings → Connectors, find the connector, and click Connect.

  2. 02

    Sign in with the Microsoft account that owns the files and accept the consent screen.

  3. 03

    Browse to the OneDrive folder you want and map it to a project folder.

  4. 04

    Choose the destination project folder, run the first import, then set a sync schedule. Every run is recorded in Sync History.

04

Good to know

  • The connection is tied to the signing-in user. If that account is disabled, syncs stop — use a service account for shared content.
05

Next steps

Other Knowledge & Docs connectors