Skip to main content

πŸš€ Quickstart

Connect to Microsoft Teams with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Microsoft Teams.
2

Authorize Microsoft Teams

Go to Connections -> Add Test Connection -> Authorize, then log in to Microsoft Teams. Later, you’ll let your users do the same directly from your app.
3

Call the Microsoft Teams API

Let’s make your first request to the Microsoft Teams (Microsoft Graph) API (fetch a list of teams joined by the authenticated user). Replace the placeholders below with your secret key, integration ID, and connection ID:
  • cURL
  • Node
curl "https://api.nango.dev/proxy/v1.0/me/joinedTeams" \
  -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 quickstart to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š Microsoft Teams Integration Guides

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

🧩 Pre-built syncs & actions for Microsoft Teams

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

Messsages

Function nameDescriptionTypeSource code
messagesContinuously fetches messages from Microsoft Teams channels and chats. Details: incremental sync, goes back 10 days on first sync, metadata tracks last sync per channel/chat.SyncπŸ”— Github

Org Units

Function nameDescriptionTypeSource code
org-unitsContinuously fetches groups from either Microsoft 365 or Azure Active Directory. Details: full refresh, support deletes, goes back all time, metadata is not required.SyncπŸ”— Github

Users

Function nameDescriptionTypeSource code
usersContinuously fetches users from either Microsoft 365 or Azure Active Directory given specified groups to sync.SyncπŸ”— Github