Documentation Index
Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
π 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.Drive Items
| Function name | Description | Type | Source code |
|---|---|---|---|
list-children | List items under a folder | Action | π Github |
list-recent-items | List recently used items from the user drive. | Action | π Github |
search-items | Search drive items by keyword | Action | π Github |
update-item | Update mutable file or folder metadata. | Action | π Github |
Drives
| Function name | Description | Type | Source code |
|---|---|---|---|
get-drive | Retrieve the user drive metadata. | Action | π Github |
list-drives | List drives available to the authenticated user. | Action | π Github |
Files
| Function name | Description | Type | Source code |
|---|---|---|---|
create-folder | Create a folder in OneDrive. | Action | π Github |
create-sharing-link | Create a share link for a file or folder. | Action | π Github |
create-upload-session | Start a resumable upload for a large file. | Action | π Github |
list-shared-items | List items shared with the user. | Action | π Github |
list-versions | List versions for a file. | Action | π Github |
move-item | Move or rename a file or folder | Action | π Github |
upload-small-file | Upload a small file in a single request. | Action | π Github |
Items
| Function name | Description | Type | Source code |
|---|---|---|---|
copy-item | Copy a file or folder to another location | Action | π Github |
delete-item | Delete a file or folder. | Action | π Github |
get-item | Retrieve a file or folder by ID or path | Action | π Github |
Permissions
| Function name | Description | Type | Source code |
|---|---|---|---|
get-permission | Retrieve a sharing permission on an item | Action | π Github |
list-permissions | List sharing permissions on an item | Action | π Github |
Sharing
| Function name | Description | Type | Source code |
|---|---|---|---|
invite-recipients | Grant item access to recipients and optionally send invitations. | Action | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
delete-permission | Remove a sharing permission from an item | Action | π Github |
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 |