π Quickstart
Connect to OneDrive for Business with Nango and see data flow in 2 minutes.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> OneDrive for Business.
Authorize OneDrive for Business
Go to Connections -> Add Test Connection -> Authorize, then log in to OneDrive for Business. Later, youβll let your users do the same directly from your app.
Call the OneDrive for Business API
Letβs make your first request to the OneDrive for Business API. Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.
π OneDrive for Business Integration Guides
Nango maintained guides for common use cases.- How to register your own OneDrive for Business OAuth app
Register an OAuth app with Microsoft and obtain credentials to connect it to Nango
π§© Pre-built syncs & actions for OneDrive for Business
Enable them in your dashboard. Extend and customize to fit your needs.Others
| Function name | Description | Type | Source code |
|---|---|---|---|
drive-items | Sync the OneDrive file and folder hierarchy using drive root delta. | Sync | π Github |
folder-children | Sync children for selected folders | Sync | π Github |
recent-items | Sync recently used drive items from OneDrive | Sync | π Github |
shared-items | Sync items shared with the user | Sync | π Github |
user-files-selection | Sync selected OneDrive files from metadata | Sync | π Github |
user-files | Sync file metadata from the user OneDrive | Sync | π Github |