Skip to main content

πŸš€ 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:
curl "https://api.nango.dev/proxy/v1.0/sites" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials dynamically via 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.

πŸ“š SharePoint Online (v2) Integration Guides

Nango maintained guides for common use cases. Official docs: Microsoft Graph API documentation

🧩 Pre-built syncs & actions for SharePoint Online (v2)

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

Others

Function nameDescriptionTypeSource code
content-typesSync content type definitions for configured sites.SyncπŸ”— Github
drive-item-versionsSync version history for drive items in configured site drivesSyncπŸ”— Github
drive-itemsSync files and folders from selected site drivesSyncπŸ”— Github
drivesSync document libraries for selected sitesSyncπŸ”— Github
list-columnsSync SharePoint list schemas.SyncπŸ”— Github
list-itemsSync items from selected SharePoint lists.SyncπŸ”— Github
listsSync SharePoint lists for selected sites.SyncπŸ”— Github
permissionsSync permission grants on drive items for configured site drives.SyncπŸ”— Github
shared-sites-selectionSync selected files from chosen SharePoint shared sites.SyncπŸ”— Github
site-columnsSync site-level column definitions for configured sites.SyncπŸ”— Github
site-pagesSync modern site pages for selected sites.SyncπŸ”— Github
sitesSync targeted SharePoint sites.SyncπŸ”— Github
subsitesSync subsites under selected parent sites.SyncπŸ”— Github
user-files-selectionSync selected user files from SharePoint.SyncπŸ”— Github
user-filesSync file metadata from user-accessible SharePoint files.SyncπŸ”— Github
Questions? Join us in the Slack community.