Microsoft Teams
Integrate your application with the Microsoft Teams API
🚀 Quickstart
Connect to Microsoft Teams with Tenklo and see data flow in 2 minutes.
In Tenklo (free signup), go to Integrations -> Configure New Integration -> 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.
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 Environment API key, integration ID, and connection ID:
curl "https://api.tenklo.dev/proxy/v1.0/me/joinedTeams" \
-H "Authorization: Bearer <NANGO-API-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 Tenklo to inspect requests.
Follow our Auth implementation guide to integrate Tenklo in your app.
To obtain your own production credentials, follow the setup guide linked below.
📚 Microsoft Teams Integration Guides
Tenklo maintained guides for common use cases.
- How to register your own Microsoft Teams OAuth app
Register an OAuth app with Microsoft Teams and obtain credentials to connect it to Tenklo - How to set up webhooks with Microsoft Teams on Tenklo
Receive bot activities from Teams. The bot must use the same Microsoft Entra app as this integration
Official docs: Microsoft Graph API docs
🧩 Pre-built syncs & actions for Microsoft Teams
Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
add-team-member | Add a member to a team | Action | 🔗 Github |
create-channel-message | Post a root message in a channel | Action | 🔗 Github |
create-channel-tab | Add a tab to a channel. | Action | 🔗 Github |
create-channel | Create a channel in a team. | Action | 🔗 Github |
create-chat-message | Send a message in a chat | Action | 🔗 Github |
create-chat | Create a one-on-one or group chat. | Action | 🔗 Github |
create-team | Create a team from a template or existing group. | Action | 🔗 Github |
delete-channel | Delete a channel from a team | Action | 🔗 Github |
get-channel-message | Retrieve a channel message by ID. | Action | 🔗 Github |
get-channel | Retrieve a channel by ID. | Action | 🔗 Github |
get-chat-message | Retrieve a chat message by ID. | Action | 🔗 Github |
get-chat | Retrieve a chat by ID. | Action | 🔗 Github |
get-team | Retrieve a team by ID. | Action | 🔗 Github |
list-channel-messages | List root messages in a channel. | Action | 🔗 Github |
list-channel-replies | List replies under a channel message thread | Action | 🔗 Github |
list-channel-tabs | List tabs configured on a channel. | Action | 🔗 Github |
list-channels | List channels in a team. | Action | 🔗 Github |
list-chat-members | List members in a chat | Action | 🔗 Github |
list-chat-messages | List messages in a chat. | Action | 🔗 Github |
list-chats | List chats for a user. | Action | 🔗 Github |
list-joined-teams | List teams the user has joined | Action | 🔗 Github |
list-team-members | List members in a team. | Action | 🔗 Github |
remove-team-member | Remove a member from a team. | Action | 🔗 Github |
reply-to-channel-message | Reply to a channel message thread. | Action | 🔗 Github |
update-channel | Update mutable channel properties. | Action | 🔗 Github |
channel-message-replies | Sync replies for selected channel message threads | Sync | 🔗 Github |
channel-messages | Sync root channel messages for selected channels | Sync | 🔗 Github |
chat-members | Sync member rosters for chats | Sync | 🔗 Github |
chat-messages | Sync chat messages across user chats. | Sync | 🔗 Github |
chats | Sync chats available to the user. | Sync | 🔗 Github |
joined-teams | Sync the teams joined by a user | Sync | 🔗 Github |
org-units | Sync Microsoft 365 or Entra groups used as organizational units | Sync | 🔗 Github |
team-channels | Sync channels for selected teams. | Sync | 🔗 Github |
team-members | Sync team membership rosters | Sync | 🔗 Github |
users | Sync directory users relevant to Microsoft Teams workspaces | Sync | 🔗 Github |