Required Scopes

To configure a Sync for OneDrive, you need to request the following scopes from your Microsoft OAuth application:

  • Files.Read.All
  • Sites.Read.All

Learn more about configuring scopes for your app in Adding Integrations.

Synced Objects

OneDrive supports the following Synced Objects:

Files

Sync Configuration Options

Example
{
    "integration": "onedrive",
    "pipeline": "files",
    "configuration": {
        "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd"
    }
}
driveId
string

A OneDrive Drive ID to limit the Sync scope to a specific drive. If not specified, the Sync will use the user’s default drive.