Skip to main content
With the Microsoft Drive tool, your agents can search and read your OneDrive and SharePoint files, organize them, upload files from a conversation, and edit Word documents. An admin adds Microsoft Drive once, then each person connects their own Microsoft account. This tool works on files live, as the connected person. To let agents search SharePoint and OneDrive content as knowledge, use the Microsoft connection instead.

What your agent can do in SharePoint and OneDrive

The list in Dust is the source of truth, and it can change before this page does. To see every Microsoft Drive tool, go to Spaces > Tools, select Microsoft Drive, and open Tools & stakes.

Before you start

  • In Dust: you need to be an admin to add Microsoft Drive.
  • In Microsoft: to approve Dust for your whole organization during setup, you also need to be a Microsoft Entra ID admin, with the Privileged Role Administrator or Application Administrator role. Each person who uses Microsoft Drive through an agent needs their own Microsoft 365 account.

Connect Microsoft Drive

Only workspace admins can add Microsoft Drive.
1

Add the tool

Go to Spaces > Tools, click Add tools, and select Microsoft Drive.
2

Choose the permissions

Optional: click Customize scopes to turn off the optional permissions you don’t want agents to use. See the permissions below.
3

Sign in to Microsoft

Click Setup connection and sign in with your Microsoft account. On the first connection, check Consent on behalf of your organization, then accept.
Each person then connects their own Microsoft account the first time an agent uses Microsoft Drive, by clicking Connect in the conversation. Agents only see what that person can see. The admin’s Microsoft account is only used for the setup.

Add Microsoft Drive to an agent

1

Open your agent in the Agent Builder

Create an agent, or open one you can edit.
2

Add the tool

In Capabilities and knowledge, click Add capabilities and select Microsoft Drive. It needs no configuration.
3

Say which files to work with

In the instructions, name the sites, folders, or files the agent should use, and when it may upload or edit files.
By default, tools that read files and copying a file run without asking (Never ask), creating folders and renaming are at Low, and uploading a file or editing a Word document is at High. Admins can change the level of each tool in Spaces > Tools > Microsoft Drive > Tools & stakes:
  • High: needs explicit user approval.
  • Low: users can completely disable confirmations.
  • Never ask: runs automatically.

Example instructions

Microsoft Drive permissions

When someone connects Microsoft Drive, Dust asks Microsoft for the delegated permissions below. A person can never do more through Dust than they can in Microsoft 365 directly. You can turn off the optional ones with Customize scopes during setup.

Limits

  • Search inside files: needs a Microsoft 365 Copilot license for the connected person, because it uses Microsoft’s Copilot search. The other tools work without it.
  • Your tenant only: agents work with your own Microsoft 365 organization. Guest access to another organization’s SharePoint isn’t supported.
  • File types: agents read PDF, Word (.doc and .docx), PowerPoint (.ppt and .pptx), Excel (.xls and .xlsx), and text files. Other types, like OneNote, aren’t supported.
  • File size: agents can’t read files over 64 MB, or upload files over 250 MB.
  • Uploaded file names: when an agent uploads a file, Dust replaces spaces, accented letters, and other special characters in its name with underscores.
  • Editing: agents can only edit Word documents. To edit Excel workbooks, use the Microsoft Excel tool.

Troubleshooting

Managing Microsoft tools

How the Dust - Tools app works in Microsoft Entra ID.

Microsoft connection

Sync SharePoint and OneDrive content so agents can search it as knowledge.

Microsoft Excel

Let your agents read and write Excel worksheets.

Tools

All the tools your agents can use.