Skip to main content

Microsoft OneDrive

Ingest the Word, PowerPoint, Excel, PDF and text files of a person's Microsoft 365 OneDrive, keeping its sharing.

The Microsoft OneDrive connection page

For a personal OneDrive, use Microsoft OneDrive (personal). For team sites, use Microsoft SharePoint.

Connect with Microsoft​

  1. Integrations → Add → Microsoft OneDrive.
  2. Click Connect with Microsoft and sign in as the OneDrive's owner.
  3. Approve the access Microsoft asks for (an admin may need to approve the app once for the organisation).
  4. Choose the settings below and Save. The first sync starts.

Or: your own app registration​

  1. Microsoft Entra admin center → App registrations → New registration. Single tenant is fine; no redirect URI.
  2. API permissions → Add a permission → Microsoft Graph → Application permissions: Files.Read.All, Sites.Read.All, GroupMember.Read.All, User.Read.All (Files.ReadWrite.All for agents that change files). Then Grant admin consent.
  3. Certificates & secrets → New client secret; copy its Value at once.
  4. On the connection, open Your own app registration: Directory (tenant) id and Application (client) id from the app's Overview page, the Client secret Value, and the User whose OneDrive is read.
  5. Save, then Test.

What to ingest​

SettingWhat it does
Respect sharingOnly show a file to the people it is shared with. Files shared with the organisation are visible to everyone allowed this connection.

Sync, OCR and exclusions: see Common settings.

What agents may do​

SwitchGives agents
Agents may list foldersA tool listing a folder as it is right now, including files not indexed yet. Anyone using such an agent sees the names of every file this account can open.
Agents may create and change filesProposed new folders and text files, content replacements, renames and moves, each run as this account once a person approves it.
Agents may delete filesProposed moves to the OneDrive recycle bin, where they can be restored.