> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Teams

> Send messages and manage Teams chats and channels

## At a glance

* **Availability**: Enabled by default.
* **Auth**: OAuth 2.0.
* **Connection**: A user authorizes the connection in the provider's consent screen.
* **Scopes**: `Chat.Read`, `Chat.ReadWrite`, `ChannelMessage.Send`, `Channel.ReadBasic.All`, `Team.ReadBasic.All`, `offline_access`.

## Credentials

Set these per environment. See [Connect an integration](/cloud/integrations).

With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.

| Variable                  | Required | Description                                                                                                                                |
| ------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `MICROSOFT_CLIENT_ID`     | Yes      | Microsoft Azure App Client ID (Application ID) [Docs](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade). |
| `MICROSOFT_CLIENT_SECRET` | Yes      | Microsoft Azure App Client Secret [Docs](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade).              |

## Tools

| Tool                 | Access | Description                                                                                 |
| -------------------- | ------ | ------------------------------------------------------------------------------------------- |
| List Chats           | Read   | List recent Teams chats                                                                     |
| Get Messages         | Read   | Get messages from a specific chat                                                           |
| Send Channel Message | Write  | Send a message to a Teams channel                                                           |
| Send Chat Message    | Write  | Send a message to a Teams 1:1 or group chat                                                 |
| List Teams           | Read   | List all joined Teams                                                                       |
| List Channels        | Read   | List channels in a specific Team                                                            |
| Create Chat          | Write  | Create a new 1:1 or group chat so a message can be sent to someone without an existing chat |

## Example prompts

* Check my recent Teams messages and summarize any important conversations or action items.
* Send a status update message to a specific Teams channel about project progress.
* Search through my Teams chats to find discussions about a specific topic.
