Skip to main content
Microsoft Teams integrates chat, video meetings, file storage, and team collaboration within Microsoft 365, enabling agents to send messages, manage teams and channels, schedule meetings, and coordinate with users across your organization.

Setup

  1. In Agent Studio, go to ToolsMicrosoft TeamsConnect
  2. Sign in with your Microsoft account and authorize access
  3. Review the requested permissions and click Allow

Available actions

ActionDescription
MICROSOFT_TEAMS_ADD_MEMBER_TO_TEAMAdds a user to a Microsoft Teams team, optionally assigning them as an owner.
MICROSOFT_TEAMS_ARCHIVE_TEAMArchives a Microsoft Teams team, making it read-only while preserving its content.
MICROSOFT_TEAMS_CHATS_GET_ALL_CHATSRetrieves all chats a specified user is part of, with support for filtering and pagination.
MICROSOFT_TEAMS_CHATS_GET_ALL_MESSAGESRetrieves all messages from a specified chat, with support for filtering and pagination.
MICROSOFT_TEAMS_CREATE_MEETINGSchedules a new standalone Microsoft Teams online meeting with specified participants and time.
MICROSOFT_TEAMS_CREATE_TEAMCreates a new Microsoft Teams team with optional template, channels, and initial members.
MICROSOFT_TEAMS_DELETE_TEAMPermanently deletes a Microsoft Teams team by its unique identifier.
MICROSOFT_TEAMS_GET_CHANNELRetrieves details for a specific channel within a team using its team and channel IDs.
MICROSOFT_TEAMS_GET_CHAT_MESSAGERetrieves a specific message from a chat using its chat and message IDs.
MICROSOFT_TEAMS_GET_TEAMRetrieves full details of a specific Microsoft Teams team by its ID.
MICROSOFT_TEAMS_LIST_MESSAGE_REPLIESLists replies to a specific channel message using the team, channel, and message IDs.
MICROSOFT_TEAMS_LIST_TEAM_MEMBERSLists all members of a Microsoft Teams team, useful for auditing or notifications.
MICROSOFT_TEAMS_LIST_TEAMS_TEMPLATESRetrieves available Microsoft Teams templates for use during team creation or customization.
MICROSOFT_TEAMS_LIST_USERSLists all users in the organization directory with support for filtering, pagination, and field selection.
MICROSOFT_TEAMS_TEAMS_CREATE_CHANNELCreates a new standard, private, or shared channel within a specified team.
MICROSOFT_TEAMS_TEAMS_CREATE_CHATCreates a new one-on-one or group chat between specified users.
MICROSOFT_TEAMS_TEAMS_GET_MESSAGERetrieves a specific message from a Teams channel using the team, channel, and message IDs.
MICROSOFT_TEAMS_TEAMS_LISTRetrieves all Microsoft Teams accessible to the authenticated user, with filtering and pagination support.
MICROSOFT_TEAMS_TEAMS_LIST_CHANNELSRetrieves all channels for a specified team, including optional shared channels.
MICROSOFT_TEAMS_TEAMS_LIST_CHAT_MESSAGESRetrieves messages from a chat in reverse chronological order using the chat ID.
MICROSOFT_TEAMS_TEAMS_LIST_PEOPLERetrieves a list of people relevant to a specified user from the Microsoft Graph people API.
MICROSOFT_TEAMS_TEAMS_POST_CHANNEL_MESSAGEPosts a new text or HTML message to a specified channel in a Microsoft Teams team.
MICROSOFT_TEAMS_TEAMS_POST_CHAT_MESSAGESends a text or HTML message to an existing Microsoft Teams chat.
MICROSOFT_TEAMS_TEAMS_POST_MESSAGE_REPLYSends a reply to an existing message in a Teams channel thread.
MICROSOFT_TEAMS_UNARCHIVE_TEAMRestores an archived Microsoft Teams team back to active status.
MICROSOFT_TEAMS_UPDATE_CHANNEL_MESSAGEUpdates the content of an existing message in a Teams channel.
MICROSOFT_TEAMS_UPDATE_CHAT_MESSAGEUpdates the content of a specific message in a Teams chat.
MICROSOFT_TEAMS_UPDATE_TEAMModifies team settings including member permissions, messaging policies, and fun settings.

Adding to an agent

  1. Open your agent in Agent Studio → Agent Builder
  2. Go to Tools and enable Microsoft Teams
  3. Select only the actions your agent needs
  4. Set auth mode: Shared (agent acts on one account) or Per-user (each end-user connects their own account)

Example use cases

Automated meeting scheduler: An agent collects availability from stakeholders and uses MICROSOFT_TEAMS_CREATE_MEETING to schedule a Teams meeting, then sends a confirmation via MICROSOFT_TEAMS_TEAMS_POST_CHAT_MESSAGE to each participant. Onboarding team provisioning: When a new team is created for a project, an agent uses MICROSOFT_TEAMS_CREATE_TEAM and MICROSOFT_TEAMS_TEAMS_CREATE_CHANNEL to set up the workspace structure, then calls MICROSOFT_TEAMS_ADD_MEMBER_TO_TEAM to add all relevant team members automatically. Incident response notifications: An agent monitors for alerts and uses MICROSOFT_TEAMS_TEAMS_POST_CHANNEL_MESSAGE to broadcast incident updates to an on-call channel, then threads follow-up details using MICROSOFT_TEAMS_TEAMS_POST_MESSAGE_REPLY as the situation evolves.