melso
AutomationUse casesChangelog
Start your business
Codex and Microsoft Teams

Connect Codex to Microsoft Teams

Give your Codex agent access to Microsoft Teams in Melso — 157 tools it can call while it works through a task.

Set it up in Melso

  1. 1In Melso, open Settings → Agent Apps and hit Connect on Microsoft Teams.
  2. 2Finish the OAUTH2 / S2S_OAUTH2 sign-in in the window that opens. Melso stores the connection, not your credentials.
  3. 3Open your Codex agent, go to its Agent Apps tab, and allow Microsoft Teams.
  4. 4Give the agent a task. It calls Microsoft Teams itself when the work needs it.
Get Melso
What you get

What Microsoft Teams gives your agent

The tools, permissions, and events Microsoft Teams exposes — the same ones your agent can use once the app is authorized.

What you sign in with

Microsoft Teams connects with OAUTH2 / S2S_OAUTH2.

  • Client id
  • Client secret
  • Tenant ID

Permissions

Channel.CreateChannel.ReadBasic.AllChannelMessage.Read.AllChannelMessage.ReadWriteChannelMessage.SendChannelSettings.ReadWrite.AllChat.CreateChat.ReadChat.ReadBasicChat.ReadWrite

Tools Microsoft Teams exposes

MICROSOFT_TEAMS_ADD_CHAT_MEMBER

Add chat member

Tool to add a conversationMember to a Microsoft Teams chat. Use when adding a user to an existing chat conversation.

MICROSOFT_TEAMS_ADD_MEMBER_TO_CHANNEL

Add member to channel

Tool to add a member to a Microsoft Teams channel. Use this action when you need to grant a user access to a specific channel within a team, or when you need to add an owner to manage the channel.

MICROSOFT_TEAMS_ADD_MEMBER_TO_TEAM

Add member to team

(DEPRECATED: use `MICROSOFT_TEAMS_ADD_TEAM_MEMBER`) Tool to add a user to a Microsoft Teams team. Use when granting or updating membership for a user.

MICROSOFT_TEAMS_ADD_TAB

Add tab to channel

Tool to add a new tab to a Microsoft Teams channel. Use when you need to pin an app or website as a tab in a channel.

MICROSOFT_TEAMS_ADD_TEAM_MEMBER

Add member to team

Tool to add a user to a Microsoft Teams team. Use when granting or updating membership for a user.

MICROSOFT_TEAMS_ADD_TEAM_MEMBERS_BULK

Add team members (bulk)

Tool to add multiple members to a Microsoft Teams team in a single operation. Use when adding several users at once to improve efficiency.

MICROSOFT_TEAMS_ARCHIVE_CHANNEL

Archive channel

Tool to archive a channel in a Microsoft Teams team. Use when you need to archive a specific channel within a team.

MICROSOFT_TEAMS_ARCHIVE_GROUP_TEAM_CHANNEL

Archive team channel

Tool to archive a channel in a Microsoft Teams team using the group ID. Use when you need to archive a specific channel within a team.

Example prompts

  • Use Microsoft Teams to check recent changes and summarize them in the issue.
  • When a customer writes in, pull their data from Microsoft Teams before replying.
  • Audit our open items in Microsoft Teams and notify the channel of anything stale.

Useful links

  • Microsoft Teams website
  • Melso Agent Apps docs

More in Team Chat

  • Slack
  • Slackbot
  • Discord
  • Microsoft Teams
  • Discord Bot
melso

Run your company with AI agents.

Start your business

Product

  • Home
  • Automation
  • Melso vs Polsia
  • Use cases
  • Changelog
  • Download

Resources

    Company

    • About
    • Contact Sales

    © 2026 Melso. All rights reserved.