# How to Connect Perplexity to OneDrive: Searching Microsoft 365 Files

Connecting Perplexity to OneDrive allows research teams to query internal Microsoft 365 documents alongside public web sources. Native connectors frequently encounter API rate limits and request timeouts when traversing complex folder hierarchies. Bridging OneDrive files into an indexed workspace provides reliable semantic retrieval without file-size bottlenecks or traversal failures.

Source: https://fast.io/resources/perplexity-onedrive/
Author: [Derek Labian](https://fast.io/authors/derek-labian/)
Last reviewed: 2026-10-30

## How Perplexity Queries OneDrive for Document Research

Directly querying enterprise OneDrive folders through an AI chat connector forces the model to traverse live Microsoft Graph folder hierarchies, where permission inheritance trees and API rate limits frequently trigger request timeouts before document retrieval finishes. Connecting Perplexity to OneDrive promises conversational research across Microsoft 365 spreadsheets, Word documents, and slide decks, yet running open-ended queries against deep folder trees routinely results in partial results or silent extraction failures.

Perplexity OneDrive integration connects Perplexity's conversational research engine to personal and business OneDrive files for grounded document synthesis. For knowledge workers, research analysts, and software engineers, grounding responses in private operational data bridges the divide between public web search indices and internal team knowledge bases. Understanding how Perplexity inspects remote Microsoft 365 storage clarifies when direct connectors work and when pre-indexed workspaces are necessary. OneDrive functions as the primary personal and team file repository within the Microsoft 365 productivity suite, requiring an engineered retrieval architecture to synthesize files without latency spikes.

### The Retrieval Pipeline for Microsoft 365 Files

Public search engines operate by scraping, parsing, and storing inverted index maps of public web pages across distributed data centers. When an end user submits a prompt, the system queries pre-computed indices, ranks relevant text passages, and feeds those snippets into an inference model.

Private cloud drives operate under a completely different architecture. Cloud storage providers protect customer data behind authentication boundaries, tenant isolation rules, and dynamic access control lists. A public search index cannot pre-crawl your OneDrive drive. Instead, querying private documents relies on on-demand retrieval-augmented generation:

1. **Intent Parsing:** Perplexity analyzes user prompts to determine whether the query requires public web data, internal documents, or a cross-domain synthesis.
2. **Connector Dispatch:** If private data is requested, the conversational engine dispatches authenticated search calls to the connected storage service using Microsoft Graph.
3. **Document Discovery:** Microsoft Graph queries the target drive for matching filenames, document metadata, or indexed text fragments.
4. **Content Ingestion:** Matching files are pulled across the network, stripped of proprietary formatting, and parsed into discrete text chunks.
5. **Context Injection:** High-scoring chunks are loaded into the active context window alongside web snippets, and the synthesis model crafts an answer backed by inline source citations.

### Direct Graph API Calls Versus Pre-Indexed Search

The primary operational tension in agentic search lies in context window budgeting and network latency. While frontier language models support expanded context windows, treating cloud storage as a real-time retrieval feed introduces severe performance penalties.

Consider a multi-tab Microsoft Excel workbook containing quarterly balance sheets and operating expenses. Pulling that raw document across an API connection on every prompt introduces several points of friction:

* **Transfer Latency:** Downloading raw Office Open XML binaries, converting worksheets into tabular text representations, and calculating embedding vectors at query time introduces seconds of delay before streaming the first response token.
* **Context Dilution:** Injecting entire documents into prompt context increases the probability that the model misses critical figures or experiences retrieval degradation across lengthy passages.
* **Rate-Limit Vulnerability:** Repeatedly querying live storage endpoints for conversational follow-ups rapidly draws down Microsoft Graph API quotas.

Performing accurate conversational research across large document collections requires decoupling file storage from the retrieval index, ensuring that files are indexed before an agent issues a query.

## Connecting OneDrive to Perplexity Using the Microsoft 365 Connector

Perplexity consolidates external storage integrations into native connectors available to Pro, Max, Enterprise Pro, and Enterprise Max subscribers. OneDrive access is provided through the unified Microsoft 365 connector, which links both personal OneDrive storage and organizational SharePoint document libraries into a single authorization grant.

Microsoft 365 operates as a unified integration that requires an authorization grant. Once established, the connector grants Perplexity read access across personal folders and shared team libraries, allowing the AI engine to ground search responses directly in your Microsoft 365 files. To connect Perplexity to OneDrive, users complete administrative consent steps, authenticating through Microsoft Entra ID, and configuring search queries to target connected files rather than relying solely on the public web.

### Accessing the Perplexity Connector Directory

Setting up the connection begins within the Perplexity web interface:

1. Sign in to your Perplexity account using an active Pro or Enterprise subscription.
2. In the navigation sidebar, select **Plugins** (or open **Customize**, then select **Connectors** if Plugins are not visible).
3. Select the **Discover** tab or use the search bar to locate **Microsoft 365**.
4. Open the Microsoft 365 connector overview page and click **Connect**.
5. When the Microsoft Entra ID authentication prompt appears, sign in using your organizational account email and review the requested delegated read permissions.
6. Select **Accept**. Microsoft redirects back to Perplexity, and the connector status updates to show as active in your Installed connectors list.

Perplexity states that files accessed through external connectors are isolated and are never used to train foundation models.

### Executing Grounded Queries with Microsoft 365 Mentions

Once the connector is active, you can incorporate OneDrive documents into research threads using explicit mentions or source selectors:

* **Connector Mentions:** Type `@Microsoft 365` directly in the Perplexity query box, followed by your research prompt. Avoid placing quotation marks immediately before the mention, as punctuation can prevent the query parser from recognizing the connector trigger.
* **Source Picker:** In the search interface, toggle the source dropdown to include your connected Microsoft 365 sources alongside web results.

Effective prompts combine internal source files with external market data to yield comprehensive research:

* **Contract Analysis:** "@Microsoft 365 Review the payment terms in 'Master_Services_Agreement_2026.docx' from my OneDrive. Compare the late-payment penalties with standard commercial terms found on the web, and identify any unusual liability clauses."
* **Financial Benchmarking:** "@Microsoft 365 Inspect 'Q2_Operating_Expenses.xlsx' in my OneDrive. Search public industry benchmarks for enterprise cloud hosting expenditures, and evaluate our cost trajectory relative to comparable software firms."
* **Technical Gap Analysis:** "@Microsoft 365 Summarize the feature specifications documented in 'Project_Falcon_Architecture.pdf'. Search the web for recently announced competitor capabilities in distributed storage, and highlight missing capabilities in our design."

When teams search OneDrive with Perplexity, structuring prompts with explicit file references guides the retrieval agent toward specific drive items, reducing irrelevant folder traversal.

## Why Native OneDrive Connectors Hit Retrieval Timeouts and File Caps

While native connectors perform adequately for individual files or flat document collections, technical teams encounter major operational constraints when searching enterprise OneDrive storage. Understanding these structural boundaries prevents broken research sessions, missing citations, and failed queries during critical analytical tasks.

Enterprise storage environments present unique engineering challenges for conversational search engines. When an AI tool connects directly to a live cloud drive, it must balance context window capacities, network latencies, API quotas, and permission inheritance models across thousands of documents. When these variables conflict, the search engine either truncates its directory scan, skips large attachments, or fails with network timeout errors. Analyzing how these bottlenecks develop in real-world environments explains why direct API querying breaks down across large corporate drives.

### Recursive Directory Traversal and Microsoft Graph Throttling

Enterprise OneDrive instances rarely keep files in a single flat directory. Files reside within complex hierarchies of personal folders, team shared folders, and departmental document libraries. In OneDrive, directory trees are structured as relational graphs of drive items rather than physical disk paths.

When an AI search engine attempts to resolve an open-ended natural language query, it issues search and enumeration queries against the Microsoft Graph API. In deep folder hierarchies, this introduces significant operational hurdles:

* **API Throttling Limits:** Microsoft enforces strict resource usage quotas on SharePoint Online and OneDrive to protect service stability. For requests that an application makes, including Microsoft Graph, CSOM, or REST calls, SharePoint Online returns HTTP status code 429 ("Too many requests") or 503 ("Server Too Busy"), and the requests will fail. Responses include a `Retry-After` header indicating how many seconds the caller must wait before retrying.
* **Query Latency and Connection Timeouts:** If the AI connector attempts to scan multiple subdirectories sequentially to locate candidate documents, HTTP request latencies compound. Standard web connectors enforce strict timeout thresholds. When a query exceeds the timeout window, the search aborts.
* **Partial Indexing and Silent Drops:** To avoid total timeouts, basic connectors often truncate directory scans after reaching a maximum item count. The connector proceeds to answer using an incomplete file sample, omitting relevant documents stored deeper in the directory structure.

### File Attachment Ceilings and Static Caching Drift

Native chat connectors enforce rigid ceilings on document sizes, file formats, and synchronization cycles. Perplexity's Microsoft 365 connector implements specific operational boundaries that restrict large-scale document analysis:

* **Upload and Attachment Limits:** Uploads to SharePoint or OneDrive through the connector are capped at 64 MB per file from a Perplexity Computer workspace, and 4 MB for inline content. When the connector retrieves a file as a search source, files exceeding your plan's attachment limit (`50 MiB` by default for Pro and Enterprise, and `25 MiB` on Free) are skipped entirely.
* **Excluded File Types:** Microsoft 365 source retrieval supports common text, PDF, Word, PowerPoint, and non-macro Excel files. However, macro-enabled Excel workbooks (.xlsm), Outlook .msg email archives, audio and video recordings, and archive formats (.zip, .tar.gz) are excluded from retrieval. If every file matching your search query exceeds size limits or belongs to an unsupported format, the response reports that sources were not retrievable.
* **Static Session Caching:** When a user attaches a file or triggers a Perplexity Space ingestion, the connector downloads the document and parses text chunks into temporary storage. If team members subsequently edit that document in Word or Excel, the conversational engine does not automatically reflect those changes until manually re-indexed.

Evaluating an [alternative to OneDrive](/alternatives/onedrive/) gives engineering teams clarity on how dedicated workspace storage resolves these ingestion limitations.

## Bridging OneDrive into Fastio Workspaces for Fast Agentic Retrieval

Solving the retrieval bottlenecks of cloud drives does not require migrating files out of Microsoft 365 or changing team habits. Colleagues can continue creating, editing, and sharing documents in OneDrive and SharePoint. The effective solution decouples long-term storage from the active retrieval layer by syncing OneDrive folders into an intelligent workspace designed specifically for AI indexing and agentic workflows.

In this hybrid architecture, operational teams retain their familiar desktop sync and collaboration tools while automated background sync mirrors project folders into a high-performance retrieval workspace. The workspace automatically indexes incoming documents for hybrid keyword and semantic search, allowing conversational search engines and autonomous agents to retrieve precise passages without issuing repetitive, expensive traversal calls across the Microsoft Graph API.

### Automated Scheduling with Cloud Sync

Fastio provides built-in Cloud Sync to bridge external cloud drives into workspaces. Cloud Sync connects Google Drive, Dropbox, Box and OneDrive folders to a workspace, one-way or two-way, on a schedule or on demand. When connecting to Microsoft ecosystems, SharePoint libraries are supported directly through the OneDrive connector.

Unlike continuous or real-time file monitors that consume excessive API quotas and risk rate-limiting, Cloud Sync operates on configured schedules or on-demand triggers. Teams can schedule sync jobs to run at designated intervals or trigger an immediate sync when a major project milestone lands.

Files transfer directly between cloud storage providers via secure OAuth connections without routing through local computers or consuming local network bandwidth. For one-off transfers, Fastio also supports direct [cloud import](/product/cloud-import/) from Google Drive, Dropbox, Box, OneDrive, or public URLs. This establishes an automated pipeline where operational documents arrive in dedicated workspaces ready for immediate retrieval.

### Hybrid Retrieval with Intelligence Mode

Fastio workspaces feature native Intelligence Mode. Standard vector databases rely solely on semantic embeddings, which often struggle to retrieve exact numerical figures, part numbers, or specific legal clauses. Intelligence Mode deploys a hybrid search pipeline across all ingested workspace documents:

* **Full-Text Keyword Indexing:** Captures exact alphanumeric strings, SKU codes, contract numbers, and technical terminology that vector models frequently distort.
* **Semantic Vector Search:** Maps conceptual meaning, retrieving relevant passages even when the query uses completely different synonyms than the source document.
* **Metadata Value Search:** Filters and ranks documents based on extracted attributes, including modification dates, file authors, document categories, and custom schema fields.

When an AI research agent queries an intelligent workspace, the engine returns exact text passages along with document identifiers and page-level references. In third-party evaluations of agent storage connectors published at [/benchmarks/](/benchmarks/), Fastio was measured the fastest and the lowest cost of the providers tested.

## Configuring Remote MCP Tooling for Agentic Workspaces

Modern AI agents interact with external data environments through the Model Context Protocol (MCP), an open standard that allows language models to discover tools, inspect resources, and execute queries across external systems. Fastio exposes action-based MCP tooling hosted on remote infrastructure over Streamable HTTP, connecting workspaces directly to modern AI clients.

Rather than managing local server processes, background scripts, or custom vector database instances, teams can connect any MCP-compatible agent directly to Fastio's hosted endpoints. The platform provides dedicated endpoint paths optimized for different agent workflows, ranging from interactive research chats in Claude to autonomous code generation environments. Once connected, agents can search indexed files, inspect document schemas, and retrieve verified citations while respecting strict workspace access boundaries.

### Streamable HTTP Endpoints for AI Clients

The Fastio MCP server is hosted remotely at `mcp.fast.io` using Streamable HTTP. It requires no local npm installations, command-line bridges, or local background daemon processes. Dedicated endpoints serve specific agent environments:

* **Claude Applications and General MCP Clients:** Connect at `https://mcp.fast.io/mcp/tools` using OAuth authorization in the browser, granting access to selected organizations and workspaces.
* **ChatGPT and Codex Environments:** The preferred setup installs the Fastio plugin directly from the ChatGPT plugin directory. Alternatively, configure a custom connector pointing to `https://mcp.fast.io/mcp/operations`.
* **Coding Agents and IDE Workspaces:** Coding agents like Claude Code, Cursor, Devin, and Cline connect to `https://mcp.fast.io/mcp/code`. For example, Claude Code adds the server using `claude mcp add --transport http fast-io https://mcp.fast.io/mcp/code`.

For step-by-step connection guides, refer to [Fastio MCP setup documentation](https://mcp.fast.io/docs). Through these endpoints, agents search workspace files, inspect folder structures, and retrieve document passages without custom vector database scripting.

### Permissions and Structured Metadata Extraction

Securing sensitive enterprise documents requires strict boundary controls. Fastio enforces role-based permissions set per organization, workspace, and share through assigned member roles. There are no folder-level or file-level permissions; every workspace member reaches the entire workspace according to their designated role.

When teams need to share specific project assets or single folders with an AI agent or an external contractor, they create a dedicated share or an isolated workspace. Branded shares (Send, Receive, or Exchange) can be configured with per-recipient access, link expiration dates, and download restrictions.

For structured documents like invoices, receipts, and vendor agreements, Fastio provides [Metadata Views](/product/document-data-extraction/). Instead of writing brittle parsing scripts, users describe target fields in natural language. The system creates a typed schema (Text, Integer, Decimal, Boolean, URL, JSON, Date & Time) and extracts attributes into a sortable spreadsheet that agents query directly via MCP. Every workspace modification maintains per-file version history and a detailed activity log of changes, providing reliable auditability across human and agent workflows.

## Resolving Common Microsoft 365 and OneDrive Ingestion Issues

Setting up cloud storage connectors and workspace sync pipelines can occasionally produce permission blocks or format rejections. Following structured troubleshooting procedures resolves common integration issues quickly, restoring search reliability across your team's documents.

Most connection failures originate in corporate identity policies, permission inheritance conflicts, or document size boundaries enforced by external APIs. When an agent returns an error stating that sources were not retrievable or authentication expired, systematically checking tenant settings, token validity, and file properties isolates the underlying bottleneck. The following recovery workflows address the most frequent failure modes encountered when connecting Perplexity and external storage systems to your research environment.

### Debugging Administrator Consent and Token Sessions

If authorizing the Perplexity Microsoft 365 connector fails during the OAuth redirect, tenant-level security policies are the standard cause:

* **Administrator Consent Requirements:** Corporate Microsoft 365 tenants frequently block users from consenting to third-party applications that request broad file read permissions. If you see an 'Approval Required' or 'Need Admin Approval' screen, your Microsoft 365 tenant administrator must grant enterprise consent in the Microsoft Entra ID admin center under Enterprise Applications.
* **Conditional Access Policies:** Enterprise tenants enforcing location-based or device-compliance Conditional Access policies may block OAuth tokens generated from external cloud IP ranges. In such environments, administrators must configure named location exceptions or allowlist approved application identifiers.
* **Connector Re-authentication:** If authentication fails or credentials expire, disconnect the connector in Perplexity account settings and re-authenticate through the Microsoft 365 connector page.

### Starting an Agentic Workspace

Creating a dedicated workspace bridges your existing Microsoft 365 storage to agentic search pipelines without modifying file structures or risking API throttling.

When specific files fail to surface in research citations, check whether the target document exceeds the connector's attachment ceiling (`50 MiB` on Pro and Enterprise tiers). High-capacity slide decks, CAD exports, or archive files exceeding this limit are skipped automatically. Syncing OneDrive folders into a [shared workspace](/product/workspaces/) accommodates individual file uploads up to `25 GB` on Starter, `50 GB` on Business, and `100 GB` on Enterprise plans.

Monthly plans start with a 14-day free trial, which requires a credit card. Review complete tier options on the [Fastio pricing](/pricing/) page:

| Fastio Plan | Monthly Billing | Storage Included | Included Seats | Monthly AI Credits |
|---|---|---|---|---|
| Starter | $9.99/mo | 250 GB | 3 seats | 100,000 credits |
| Business | $49.99/mo | 5 TB | 10 seats | 600,000 credits |
| Enterprise | $199.99/mo | 25 TB | 30 seats | 3,000,000 credits |

Annual billing is `$99`, `$499`, and `$1,999` a year. Additional storage is billed at `$0.015 per GB a month`, extra bandwidth at `$0.04 per GB`, and credit overage at `$10` per `100,000 credits`. External collaborators accessing shared links do not consume organization member seats.

## Frequently asked questions

### Can Perplexity search files in Microsoft OneDrive?

Yes. Perplexity Pro, Max, Enterprise Pro, and Enterprise Max subscribers can connect OneDrive through the native Microsoft 365 connector. Once authenticated via Microsoft Entra ID, users can search and query personal OneDrive files and SharePoint document libraries directly within Perplexity chat threads using natural language.

### How do I connect OneDrive to Perplexity AI?

To connect OneDrive, open the Perplexity web interface and open Plugins in the sidebar (or Customize, then Connectors). Locate Microsoft 365 on the Discover page and select Connect. Sign in with your Microsoft account to grant file reading permissions. Once connected, mention @Microsoft 365 in your prompt or enable the connector in the search source picker to query your files.

### What file types can Perplexity read from cloud storage?

Perplexity's Microsoft 365 connector reads common productivity formats, including Word documents (.docx), Excel spreadsheets (.xlsx), PowerPoint presentations (.pptx), PDFs, plain text (.txt), Markdown (.md), and CSV files. Macro-enabled spreadsheets (.xlsm), video files, and email message archives (.msg) are currently skipped during source retrieval.

### Why does Perplexity skip some files when searching OneDrive?

Files are skipped during source retrieval if they exceed plan attachment limits (`50 MiB` on Pro and Enterprise tiers, `25 MiB` on Free) or use unsupported file formats like macro-enabled Excel workbooks (.xlsm). Deeply nested folders can also cause directory traversal timeouts across Microsoft Graph APIs, preventing files from being indexed into the active context.

### Does Perplexity use private OneDrive files to train AI models?

No. Perplexity states that files accessed through external connectors and uploaded to private accounts are used strictly to answer user queries and are never used to train foundation AI models.

### How does Cloud Sync differ from direct Microsoft Graph API queries?

Direct connectors issue live API calls to Microsoft Graph at query time, traversing directory trees and reading raw files, which frequently triggers API rate limiting and latency timeouts. Fastio Cloud Sync connects Google Drive, Dropbox, Box and OneDrive folders to a workspace on a schedule or on demand, pre-indexing documents for hybrid search so agents retrieve precise passages in milliseconds.

### Can I search SharePoint libraries through the same integration?

Yes. Perplexity combines personal OneDrive storage and organizational SharePoint sites into the unified Microsoft 365 connector. Similarly, Fastio Cloud Sync supports SharePoint document libraries through the OneDrive connector, allowing teams to sync and index team libraries into dedicated workspaces.

## Sources

- [Microsoft Learn: How to avoid getting throttled or blocked in SharePoint Online](https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online): For application requests exceeding usage limits, SharePoint Online returns HTTP status code 429 or 503 with a Retry-After header.
- [Perplexity Help Center: Microsoft 365 connector (SharePoint and OneDrive)](https://www.perplexity.ai/help-center/en/articles/12569435-microsoft-365-connector-sharepoint-and-onedrive): Uploads to SharePoint or OneDrive through the connector are capped at 64 MB per file from a Perplexity Computer workspace.

## About Fast.io

Fast.io provides shared workspaces where people and AI agents work on the same files, with built-in semantic search and citation-backed chat over what they hold. Agents reach it through a remote MCP server, a REST API at https://api.fast.io/current/, and a command line client published on npm as @vividengine/fastio-cli. MCP setup is at https://mcp.fast.io/docs: Claude and most MCP clients connect to https://mcp.fast.io/mcp/tools, ChatGPT to https://mcp.fast.io/mcp/operations, and coding agents to https://mcp.fast.io/mcp/code.
