๐ Quickstart
Connect to SharePoint Online (v2) with Nango and see data flow in 2 minutes.1
Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> SharePoint Online (v2).
2
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.
3
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
4
Implement Nango in your app
Follow our quickstart 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 |
|---|---|---|---|
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 |
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 |
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 |
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 |
Questions? Join us in the Slack community.