The Microsoft OneDrive data store for Gemini Enterprise lets you search and perform actions on your files and folders.
Supported Microsoft OneDrive versions
The Microsoft OneDrive data store supports all hosted versions of Microsoft OneDrive through the Microsoft Graph API v1.0.
Supported actions
When the Microsoft OneDrive data store is enabled, end users can use natural language commands in Gemini Enterprise to perform the following actions.
| Action | Description |
|---|---|
| Create folder | Creates a new folder at a specified path in Microsoft OneDrive. |
| Copy file | Copies a file from a source to a destination in Microsoft OneDrive. |
| Upload file | Uploads a file to a specified location in Microsoft OneDrive. |
| Download file | Downloads a file from Microsoft OneDrive to a specified location. |
Required permissions
To enable Gemini Enterprise to perform search and data ingestion using the Microsoft OneDrive data store, you need the following permissions:
Microsoft Graph API permissions
The table below outlines the permissions required for each connection mode.
Note: The following table outlines the permissions required for each connection mode. If you enable Actions for either the Federated search or Data ingestion connection mode, also select the permissions listed in the Actions row.
Files.Read.All
Sites.Read.All
GroupMember.Read.All
User.Read
User.Read.All
Sites.FullControl.All
(Option 1)Sites.Selected
(Option 2)User.Read.All
(Option 1)User.ReadBasic.All
(Option 2)Files.ReadWrite.AppFolder
Files.ReadWrite
For information on how to add the permissions for Microsoft OneDrive, see Configure Microsoft OneDrive and set the necessary permissions .
Limitations
This section outlines known issues and limitations that may affect your use of the Microsoft OneDrive data store.
- When creating a new app or adding a data store to an existing one, it's recommended to associate only one data store with actions belonging to a single connector type.
- Enforcing a VPC Service Controls perimeter on existing Microsoft OneDrive data stores is not supported. To enforce VPC Service Controls, you must delete and recreate the data stores. For more information on VPC Service Controls and how to use actions after enabling VPC Service Controls, see Secure your app with VPC Service Controls .
- The Microsoft OneDrive data store is supported only in the
global,us, andeulocations.
The following are the limitations for the Microsoft OneDrive federated data store:
- Search limitations: Search results may vary and are not always comprehensive for all file types. Content in archived or encrypted folders may not be accessible for search. Federated search does not support searching within attachments.
- Delegated access:Access to shared Microsoft OneDrive files or folders may require specific permissions not covered by standard user authorization.
The following are the limitations for the Microsoft OneDrive ingestion data store:
- Incremental sync does not detect folder-level actions like Copy, Move, or Rename.
What's next
- To create and configure a data store with Microsoft OneDrive, see Set up a Microsoft OneDrive data store .

