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 placeholder
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.ReadWriteandUser.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
Open Connectors
Go to Settings and open Connectors. Find the Microsoft Teams card.
Click Connect
Click Connect. Microsoft's sign-in page opens.
Sign in and approve
Choose your account and approve the permissions.
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.
| Tool | What it does | Read or Write |
|---|---|---|
teams_find_person | Finds a colleague by partial name or email, using Teams chat membership. Includes your own profile | Read |
teams_list_chats | Lists your chats: one to one, group and meeting chats | Read |
teams_get_chat_messages | Gets recent messages from one chat | Read |
teams_send_direct_message | Sends a direct message to a person, including yourself. You can pass their email address | Write, approval |
teams_list_teams | Lists the teams you have joined, by name | Read |
teams_list_channels | Lists the channels in a team | Read |
teams_get_channel_messages | Gets recent messages from a channel | Read |
teams_post_channel_message | Posts a message to a channel. Once approved, everyone in the channel sees it | Write, 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_appoption), 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.