WebsitePlatform Login

SharePoint/OneDrive

Configure SharePoint and OneDrive integration

In meinGPT (UI)

Für die meisten Teams erfolgt die Einrichtung direkt in meinGPT, ohne lokale Config-Dateien.

  1. Öffne die Admin-Einstellungen in meinGPT
  2. Gehe zu Data Pools / Data Sources
  3. Klicke Add Source und wähle diesen Source-Typ
  4. Hinterlege Zugangsdaten und Scope im UI
  5. Speichere und starte den ersten Sync

Wenn Du keinen eigenen DataVault betreibst, ist das in der Regel ausreichend.

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.

Auf dieser Seite