Skip to main content
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.All and Files.Read.All.
  • Admin consent, for the client-credentials flow.

Authentication

Two flows, chosen by the type 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.
client_secret and refresh_token are encrypted at rest and never returned in a response.

Configuration

Connection-level fields

Sync-level fields

Setup

1

Register the Azure AD application

  1. Open Azure Portal → App registrations → New registration.
  2. Copy the Application (client) ID and Directory (tenant) ID.
  3. Under Certificates & secrets, create a client secret and copy its value.
  4. Under API permissions, add Sites.Read.All and Files.Read.All, then grant admin consent.
2

Find your site and drive IDs

cURL
A site ID looks like 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

Google Drive

The same file-library pattern on Google Workspace.

Box

Enterprise content management connector.