Skip to main content

OneDrive overview

Glean connects to Microsoft OneDrive through indexed search, real-time access, and read and write tools. File indexing uses certificate authentication, while real-time access and tools require per-user authorization.

Part of the Microsoft 365 connector

Set up the Microsoft 365 parent connector first for identity crawling and tenant settings. OneDrive uses its own app client ID and certificate credentials when its setup form provides editable fields. The tenant ID remains inherited from Microsoft 365. If Glean marks the app credentials as inherited, keep the existing shared app and manage its credentials on Microsoft 365. See Microsoft 365.

Capabilities​

The new setup guides you through tools configuration and certificate-based indexing, and enables native real-time access. Configure Central or Custom OAuth for tools separately from the indexing credentials, then review the indexing configuration and start the crawl. With the previous setup, configure indexing first and enable real-time access separately. Each user must authorize their own OneDrive account for native real-time access and for tools.

Which capabilities do you need​

Compare what each capability contributes to search, ranking, and agent behavior.

What you getIndexed connectorReal-time accessRead and write tools
CoverageOrg-wide: everything crawled is searchable by anyone with permissionPer-user: only content the querying user can access–
FreshnessNear real-time (webhook-driven updates)Always live (fetched at query time)–
Fetch a specific document by URL✗ (only documents already in the index)✓ (fetched live, even if never indexed)–
Agents can read and summarize documents✓✓Through read tools
Agents can create, move, or share files––✓
Content stored in Glean's indexYes (crawled and indexed)No (nothing stored)No
App registrationOneDrive app, or inherited app if shown in setupDefault app used by the OneDrive connectorSeparate Central or Custom OAuth setup
Best forBroad, ranked, everyday searchVolatile or sensitive content kept currentAgentic file management

Set up OneDrive​

  • Choose your setup identifies your setup from the controls in the Admin console, not the date you connected OneDrive.
  • New setup covers the Connect and Set up indexing steps.
  • Previous setup covers the Setup tab, including required permissions, what Glean crawls, and setup steps. Existing connectors continue to work without being recreated or requiring all users to sign in again.
  • Real-time access covers native user authentication and the separate enablement steps for previous setup.
  • Read and write tools explains how to configure tools that let Glean agents act in OneDrive.

Permissions and security​

Glean reads all user access permissions from OneDrive and enforces them at query time, so users only see results they have access to. File indexing uses certificate-based application permissions with admin consent. Identity permissions stay on the Microsoft 365 parent app. Real-time access and tools use separate delegated authorization.