SharePoint Connector
Import files from SharePoint sites and OneDrive into a Mixedbread Store, keep them synchronized, and carry over who can open each file.
The SharePoint connector imports files from SharePoint document libraries and your own OneDrive into a Store. Select whole sites, single libraries, folders, or individual files. Each imported file records who can open it in SharePoint, so search results can be limited to what the searching person may see.
Before you begin
You need a Microsoft 365 work or school account that can open the content you want to import and a Mixedbread organization with access to Data sources. Personal Microsoft accounts are not supported.
If your organization only lets administrators approve apps, a Microsoft Entra administrator must grant consent before anyone can connect. Files shared with Microsoft 365 or security groups also need admin consent for two more permissions; see Access control.
Connect SharePoint
Choose SharePoint & OneDrive
In the Mixedbread Platform, open Data sources, select Create, and choose SharePoint & OneDrive.
Choose the destination Store
Enter an optional Store name. Leave it blank to use
sharepoint-{your-account}.
Review the Store configuration
SharePoint uses metadata contextualization with fast ingestion by default. Expand Store configuration only if you need different behavior.
Authorize SharePoint
Select Connect SharePoint & OneDrive, sign in with your Microsoft account, and approve the requested read-only access.
Select sites, libraries, folders, and files
The top level lists your OneDrive as My files and the SharePoint sites you can open; search to find a site by name. Open a site to see its document libraries, and a library to browse its folders and files. Select what to synchronize, then confirm the selection.
Saving the selection starts the initial import. Mixedbread keeps the selected content up to date as it changes in SharePoint.
Selecting a site synchronizes every document library in it, including libraries added later. Selecting a library or folder synchronizes every file and subfolder inside it. You can select up to 500 items.
How updates arrive
SharePoint notifies Mixedbread when a selected library changes, so new, edited, moved, and deleted files usually reach the Store within a minute. A check of each library about every 20 minutes catches anything a notification missed, and every imported file is checked again once a day.
- Editing a file's content imports it again. Renaming or moving it also imports it again, because its name and folder are part of what search sees.
- Changing only a file's properties or its sharing updates the stored copy without importing the content again.
- Deleting a file in SharePoint removes it from the Store.
- A file moved out of the selection keeps its imported copy, which stops updating. Who can open it is still kept up to date.
- When the connected account can no longer open a file, its copy is removed or hidden from everyone until the account can open it again.
Access control
Every imported file carries two metadata fields that describe who can open it in SharePoint:
acllists the email addresses, in lowercase, of the people who can open the file.publicistruewhen the file is shared with everyone in your organization: through a link for anyone or for people in your organization, or with Everyone or Everyone except external users.
Files are often shared with groups rather than people. Mixedbread expands
SharePoint site groups (such as a site's Owners, Members, and Visitors) and
Microsoft 365 and security groups, including groups nested inside them, into
their members' email addresses. When someone joins or leaves a group, the
acl of every file shared with that group is updated, usually within about 10
minutes; longer while a large import is running. The files are not imported
again.
To return only what the searching person may open, filter on these fields:
{
"any": [
{"key": "public", "operator": "eq", "value": true},
{"key": "acl", "operator": "contains", "value": "ada@contoso.com"}
]
}Pass the filter as filters in a search request, with
the person's email address in lowercase. See
Metadata Filtering for the filter syntax.
Group permissions
Reading the members of Microsoft 365 and security groups requires two
delegated Microsoft Graph permissions that only an administrator can grant:
GroupMember.Read.All and User.ReadBasic.All. They are never requested at
sign-in. A Microsoft Entra administrator must add them to the app and select
Grant admin consent. If your organization connects through its own app, see
Bridge.
Group expansion fails closed. When a group's members cannot be read, none of
them are added to acl, the group is listed in
sharepoint.unresolved_access_groups, and the connector page shows which
permission is missing. The file stays searchable for everyone else in acl.
File metadata
Besides acl and public, each file records source_created_at,
source_updated_at, and these fields under sharepoint:
| Field | Value |
|---|---|
sharepoint.name | File name |
sharepoint.site_name | Site the file is in |
sharepoint.library_name | Document library the file is in |
sharepoint.folder_path | Folder within the library, such as /Reports/2026 |
sharepoint.mime_type | File type |
sharepoint.file_extension | Extension without the dot, such as pdf |
sharepoint.web_url | Link to the file in Microsoft 365 |
sharepoint.size_bytes | File size |
sharepoint.created_by_email | Who created the file |
sharepoint.last_modified_by_email | Who last changed the file |
sharepoint.site_id | Microsoft Graph ID of the site |
sharepoint.drive_id | Microsoft Graph ID of the library |
sharepoint.item_id | Microsoft Graph ID of the file |
sharepoint.access_groups | Groups the file is shared through, by email, or by ID when a group has no email |
sharepoint.access_group_names | Names of those groups as SharePoint and Microsoft Entra show them |
sharepoint.unresolved_access_groups | Groups whose members could not be read and are not in acl |
Fields without a value are left out.
Manage the connector
Open the SharePoint data source to browse sites, libraries, and folders and review each item's status.
- Select Sync to import an excluded item.
- Select Unsync to stop future updates for an item.
- Use Sync now to re-check the selection for new, changed, and deleted files.
- Use Disconnect to remove the saved Microsoft credentials and stop synchronizing.
Unsyncing or disconnecting does not delete previously imported Store files, unless you choose Also delete synced data when disconnecting.
Supported content
The connector imports files from document libraries and OneDrive in the
supported file types. SharePoint lists
and OneNote notebooks are not imported. Empty files and files over the upload size
limit are skipped. Over the API, a file's
resource reports how its
last import went in sync.last_import, with a status of indexed,
skipped, or failed and a reason such as unsupported_file_type.
Troubleshooting
Sign-in stops with a consent error
Your organization only lets administrators approve apps. Ask a Microsoft Entra administrator to grant consent, then connect again.
A site or file is missing
Confirm that the connected account can open it in SharePoint. Only sites the account can open are listed, and other people's OneDrives are never listed.
People in a group cannot find a file
Open the connector page and check for a warning about a group. Grant
GroupMember.Read.All and User.ReadBasic.All with admin consent, then run
Sync now.
The warning usually clears within about 10 minutes once every group can be read; longer while a large import is running.
SharePoint needs to be reconnected
Microsoft sign-ins can expire or be revoked. Select Reconnect SharePoint and sign in with the same Microsoft account to resume synchronization into the existing Store. Your selection is kept.