Connect Microsoft Teams to Definable AI

Microsoft Teams integrates chat, video meetings, and file storage within Microsoft 365, providing virtual collaboration and communication for distributed teams

About Microsoft Teams

Microsoft Teams is a productivity tool. Connect it to Definable AI with one-click OAuth2 — no API keys or custom code required.

What you can automate with Microsoft Teams

Use Definable AI's agent platform to trigger workflows from Microsoft Teams, process results with 50+ AI models, and sync data across 900+ connected apps.

Tools & Actions (33 available)

  • Add member to team: Tool to add a user to a Microsoft Teams team. Use when granting or updating membership for a user.
  • Archive Teams team: Tool to archive a Microsoft Teams team. Use after confirming the team ID; returns 202 if accepted.
  • Create Chat: Creates a new chat; if a 'oneOnOne' chat with the specified members already exists, its details are returned, while 'group' chats are always newly created. IMPORTANT: The authenticated user MUST be included as one of the members.
  • Create Team: Tool to create a new Microsoft Teams team. Use when you need to provision a team with optional template, channels, and members.
  • Create a channel: Creates a new 'standard', 'private', or 'shared' channel within a specified Microsoft Teams team.
  • Create online meeting: Use to schedule a new standalone Microsoft Teams online meeting, i.e., one not linked to any calendar event.
  • Delete Teams team: Tool to delete a Microsoft Teams team. Use after confirming the target team ID.
  • Get My Profile: Tool to retrieve the authenticated user's profile (id/UPN/mail/displayName). Use when operations require explicitly including the caller (e.g., chat creation) or when the user's identity is needed.
  • Get Team: Tool to get a specific team. Use when full details of one team by ID are needed.
  • Get Team Operation Status: Tool to retrieve the status of a Teams async operation using teamId and operationId. Use when you need to poll and track the progress of long-running operations like team creation or archiving. Microsoft recommends waiting at least 30 seconds between polling requests.
  • Get Teams channel message: Retrieves a specific message from a Microsoft Teams channel using its Team, Channel, and Message IDs.
  • Get all chat messages: Retrieves all messages from a specified Microsoft Teams chat using the Microsoft Graph API, automatically handling pagination; ensure `chat_id` is valid and OData expressions in `filter` or `select` are correct.
  • Get all chats: Retrieves all Microsoft Teams chats a specified user is part of, supporting filtering, property selection, and pagination.
  • Get chat message: Tool to get a specific chat message. Use after confirming chat_id and message_id.
  • Get team channel: Tool to get a specific channel in a team. Use after obtaining valid team and channel IDs to fetch channel details.
  • List People: Retrieves a list of people relevant to a specified user from Microsoft Graph, noting the `search` parameter is only effective if `user_id` is 'me'.
  • List Teams: Retrieves Microsoft Teams accessible by the authenticated user, allowing filtering, property selection, and pagination.
  • List channel messages: Tool to list messages in a Teams channel when team_id and channel_id are known (no chat_id required). Use this to enumerate channel message history and obtain message_id for follow-on operations like listing replies or getting message details.
  • List chat messages: Retrieves messages (newest first) from an existing and accessible Microsoft Teams one-on-one chat, group chat, or channel thread, specified by `chat_id`.
  • List message replies: Tool to list replies to a channel message. Use after obtaining team, channel, and message IDs.
  • List team channels: Retrieves channels for a specified Microsoft Teams team ID (must be valid and for an existing team), with options to include shared channels, filter results, and select properties.
  • List team members: Tool to list members of a Microsoft Teams team. Use when you need to retrieve the members of a specific team, for auditing or notifications.
  • List user joined teams: Tool to list the Teams that a specified user is a direct member of (joined teams). Use for access/membership audits when enumerating team members is access-restricted.
  • List users: Tool to list all users in the organization. Use when you need to retrieve directory users with filtering, pagination, and field selection.
  • Post message to Teams channel: Posts a new text or HTML message to a specified channel in a Microsoft Teams team.
  • Reply to Teams channel message: Sends a reply to an existing message, identified by `message_id`, within a specific `channel_id` of a given `team_id` in Microsoft Teams.
  • Search Teams files: Search files in Microsoft Teams using KQL syntax. Find files by name, type, content, author, and modification date across all Teams and channels. Supports boolean logic and date ranges. Examples: 'filetype:pdf AND lastmodifiedtime>=2024-10-01', 'contract AND budget', 'filename:report AND author:[email protected]'
  • Search Teams messages: Search Microsoft Teams messages using powerful KQL syntax. Supports sender (from:), date filters (sent:), attachments, and boolean logic. Works across all Teams chats and channels the user has access to. Examples: 'from:[email protected] AND sent>=2024-10-01', 'punchlist OR termination', 'sent>today-30 AND hasattachment:yes' NOTE: This action requires an organizational Microsoft 365 account (Azure AD/Entra ID). It does NOT work with personal Microsoft accounts (MSA) such as @outlook.com, @hotmail.com, or @live.com. If using a personal Microsoft account, this search will fail.
  • Send message to Teams chat: Sends a non-empty message (text or HTML) to a specified, existing Microsoft Teams chat; content must be valid HTML if `content_type` is 'html'.
  • Unarchive Teams team: Tool to unarchive a Microsoft Teams team. Use when you need to restore an archived team to active state.
  • Update Team: Tool to update the properties of a team. Use when you need to modify team settings such as member, messaging, or fun settings.
  • Update Teams channel message: Tool to update a message in a channel. Use when you need to modify an existing channel message after confirming channel and message IDs.
  • Update Teams chat message: Tool to update a specific message in a chat. Use when you need to correct or modify a sent chat message.

How to connect Microsoft Teams

  1. Sign in to Definable AI and go to Apps
  2. Search for Microsoft Teams and click Connect
  3. Authorize via OAuth2 — takes under 30 seconds
  4. Use Microsoft Teams actions in your AI agents and workflows