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
Synced Objects
OneDrive supports the following Synced Objects:Files
Sync Configuration Options
Example
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.
Choosing Files and Folders
You can allow your user to select files from their OneDrive account in your app with the OneDrive File Picker provided by the Paragon SDK. Showing the File Picker Use the Paragon SDK in your frontend application to show the File Picker in your app. The SDK provides anExternalFilePicker
class to load OneDrive’s JavaScript into your page and authenticate with your user’s connected OneDrive account.