WebsitePlatform Login

SharePoint/OneDrive

Configure SharePoint and OneDrive integration

In meinGPT (UI)

For most teams, setup is done directly in meinGPT without editing local config files.

  1. Open admin settings in meinGPT
  2. Go to Data Pools / Data Sources
  3. Click Add Source and choose this source type
  4. Configure credentials and scope in the UI
  5. Save and trigger the first sync

If you do not run your own DataVault runtime, this is usually all you need.

On-Prem Runtime Configuration (Advanced)

data_pools:
  - id: onedrive
    type: onedrive
    client_id: "4306c62e-d96d-41a0-9f59-f577e3707aba"
    refresh_token: $ONEDRIVE_REFRESH_TOKEN
    drive_id: $ONEDRIVE_DRIVE_ID
    drive_type: "personal"

Configuration Options

FieldTypeDefaultRequiredDescription
idstring-Unique identifier for the data pool
typestring-Must be "onedrive"
client_idstring"4306c62e-d96d-41a0-9f59-f577e3707aba"Application client ID
client_secretstringnullApplication client secret
refresh_tokenstring-OAuth refresh token
drive_idstring-OneDrive ID
drive_typestring-Drive type ("personal", "business", "documentLibrary")
tenant_idstringnullOptional custom tenant
base_pathstring"/"Optional folder path

Synchronization

  • Vault uses OAuth refresh token based access to OneDrive/SharePoint content.
  • Sync runs pull files from the selected drive scope and ingest incrementally.
  • If tokens rotate, runtime refresh updates are applied automatically during operation.

Setup

  1. Register Azure app: Azure Portal → App registrations
  2. Configure permissions: Microsoft Graph API permissions
  3. Get refresh token: OAuth2 authorization flow
  4. Add to environment: ONEDRIVE_REFRESH_TOKEN and ONEDRIVE_DRIVE_ID

Microsoft Graph Documentation

On-prem only: this source page is relevant when you operate your own DataVault runtime and configure data_pools yourself.

On this page