Skip to main content

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.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> OneDrive for Business.
2

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.
3

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:
curl "https://api.nango.dev/proxy/v1.0/me/drives" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

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. Official docs: Microsoft Graph API documentation

🧩 Pre-built syncs & actions for OneDrive for Business

Enable them in your dashboard. Extend and customize to fit your needs.

Drive Items

Function nameDescriptionTypeSource code
list-childrenList items under a folderActionπŸ”— Github
list-recent-itemsList recently used items from the user drive.ActionπŸ”— Github
search-itemsSearch drive items by keywordActionπŸ”— Github
update-itemUpdate mutable file or folder metadata.ActionπŸ”— Github

Drives

Function nameDescriptionTypeSource code
get-driveRetrieve the user drive metadata.ActionπŸ”— Github
list-drivesList drives available to the authenticated user.ActionπŸ”— Github

Files

Function nameDescriptionTypeSource code
create-folderCreate a folder in OneDrive.ActionπŸ”— Github
create-sharing-linkCreate a share link for a file or folder.ActionπŸ”— Github
create-upload-sessionStart a resumable upload for a large file.ActionπŸ”— Github
list-shared-itemsList items shared with the user.ActionπŸ”— Github
list-versionsList versions for a file.ActionπŸ”— Github
move-itemMove or rename a file or folderActionπŸ”— Github
upload-small-fileUpload a small file in a single request.ActionπŸ”— Github

Items

Function nameDescriptionTypeSource code
copy-itemCopy a file or folder to another locationActionπŸ”— Github
delete-itemDelete a file or folder.ActionπŸ”— Github
get-itemRetrieve a file or folder by ID or pathActionπŸ”— Github

Permissions

Function nameDescriptionTypeSource code
get-permissionRetrieve a sharing permission on an itemActionπŸ”— Github
list-permissionsList sharing permissions on an itemActionπŸ”— Github

Sharing

Function nameDescriptionTypeSource code
invite-recipientsGrant item access to recipients and optionally send invitations.ActionπŸ”— Github

Others

Function nameDescriptionTypeSource code
delete-permissionRemove a sharing permission from an itemActionπŸ”— Github
drive-itemsSync the OneDrive file and folder hierarchy using drive root delta.SyncπŸ”— Github
folder-childrenSync children for selected foldersSyncπŸ”— Github
recent-itemsSync recently used drive items from OneDriveSyncπŸ”— Github
shared-itemsSync items shared with the userSyncπŸ”— Github
user-files-selectionSync selected OneDrive files from metadataSyncπŸ”— Github
user-filesSync file metadata from the user OneDriveSyncπŸ”— Github