Mixpeek reads document libraries through the Microsoft Graph API. Each file becomes a bucket object.
Overview
SharePoint nests four levels: tenant, site, drive (document library), item. A connection pins the first three, and the sync path selects the folder.Prerequisites
- An Azure AD application registration.
- Microsoft Graph permissions
Sites.Read.AllandFiles.Read.All. - Admin consent, for the client-credentials flow.
Authentication
Two flows, chosen by thetype field on credentials.
client_credentials — app-only access with no user in the loop. Use this in production.
delegated — acts as a user, limited to that user’s permissions. Needs refresh-token upkeep.
Configuration
Connection-level fields
Sync-level fields
Setup
1
Register the Azure AD application
- Open Azure Portal → App registrations → New registration.
- Copy the Application (client) ID and Directory (tenant) ID.
- Under Certificates & secrets, create a client secret and copy its value.
- Under API permissions, add
Sites.Read.AllandFiles.Read.All, then grant admin consent.
2
Find your site and drive IDs
cURL
contoso.sharepoint.com,guid1,guid2. A drive ID starts with b!.3
Create the storage connection
4
Browse folders before creating a sync
cURL
5
Create the sync
cURL
Related
Google Drive
The same file-library pattern on Google Workspace.
Box
Enterprise content management connector.

