🚀 Quickstart
Connect to SharePoint Online (v2) with Nango and see data flow in 2 minutes.Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> SharePoint Online (v2).
Authorize SharePoint Online (v2)
Go to Connections -> Add Test Connection -> Authorize, then log in to SharePoint Online. Later, you’ll let your users do the same directly from your app.
Call the SharePoint Online (v2) API
Let’s make your first request to the SharePoint Online (Microsoft Graph) API (fetch a list of all available sites in an organization). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials dynamically via 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.
📚 SharePoint Online (v2) Integration Guides
Nango maintained guides for common use cases.- How to register your own SharePoint Online (v2) OAuth app
Register an OAuth app with SharePoint Online (v2) and obtain credentials to connect it to Nango
🧩 Pre-built syncs & actions for SharePoint Online (v2)
Enable them in your dashboard. Extend and customize to fit your needs.Others
| Function name | Description | Type | Source code |
|---|---|---|---|
fetch-file | This action will be used to fetch the latest file download_url which can be used to download the actual file. | Action | 🔗 Github |
list-shared-sites | This action will be used to display a list of sites to the end-user, who will pick the ones he wants to sync. The connection metadata should be set based on the file selection. | Action | 🔗 Github |
shared-sites-selection | This sync will be used to sync file metadata from SharePoint site based on the ones the user has picked. | Sync | 🔗 Github |
user-files | Fetch all files from the user’s drive and sync the metadata for each file. | Sync | 🔗 Github |
user-files-selection | Fetch all selected files from a user’s drive | Sync | 🔗 Github |
Questions? Join us in the Slack community.