Docs
Sign in

Teams

Microsoft Teams is Microsoft's chat and team workspace. With this connector, TAO can read your chats and channel messages and, with approval, send messages for you.

Screenshot to add: The Microsoft Teams card on the Connectors page with its Connect button.

What you can do

Illustrative examples.

  • "What did Maria say in our project chat this morning?"
  • "Send Sam a Teams message to say the report is ready."
  • "Show me the latest messages in the Finance channel."
  • "Post a reminder about Friday's deadline in the Marketing channel."

Before you connect

  • A Microsoft account that uses Teams. A work or school account is the safe choice.
  • Permission to approve the app. The sign-in asks for these permissions: send channel messages, read all channel messages, read and write chats, read basic profiles of people, create online meetings, and read your own profile. In the code they are ChannelMessage.Send, ChannelMessage.Read.All, Chat.ReadWrite, User.ReadBasic.All, OnlineMeetings.ReadWrite and User.Read.
  • Some of these may need an administrator in your company to approve them once. If you see "Need admin approval", ask your IT team.

Connect it

  1. Open Connectors

    Go to Settings and open Connectors. Find the Microsoft Teams card.

  2. Click Connect

    Click Connect. Microsoft's sign-in page opens.

  3. Sign in and approve

    Choose your account and approve the permissions.

  4. Check the card

    You return to TAO and the card shows Connected. If a permission was added later, the card can show a chip saying that the last token did not include it. Use Reconnect to fix that.

Tools

Tools marked Write, approval do not send anything straight away. They wait in the approvals queue for a person to approve.

ToolWhat it doesRead or Write
teams_find_personFinds a colleague by partial name or email, using Teams chat membership. Includes your own profileRead
teams_list_chatsLists your chats: one to one, group and meeting chatsRead
teams_get_chat_messagesGets recent messages from one chatRead
teams_send_direct_messageSends a direct message to a person, including yourself. You can pass their email addressWrite, approval
teams_list_teamsLists the teams you have joined, by nameRead
teams_list_channelsLists the channels in a teamRead
teams_get_channel_messagesGets recent messages from a channelRead
teams_post_channel_messagePosts a message to a channel. Once approved, everyone in the channel sees itWrite, approval

Total: 8 tools (6 reads, 2 writes that wait for approval).

Limits and good to know

  • A channel post can include files from earlier in the same chat. The files go to the team's document library and the message links to them. The tool describes this as about 3 MB combined.
  • Teams chat used to ride on the Outlook sign-in. The code now prefers the Microsoft Teams sign-in and falls back to the Outlook one if the Teams token lacks chat permission. The send-message approval can therefore be recorded under either.
  • If chat permission is missing, the error tells you to reconnect Microsoft Teams in Settings > Connectors.
  • If the only Microsoft connection you have is a company-own Outlook app (the outlook_app option), chat does not work. That kind of connection cannot read chats. You will see "Teams is not connected".
  • Creating a meeting is done from Outlook, through the calendar event tool.