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

# Microsoft Teams

> Add an agent to Microsoft Teams as its own app. Chat with it 1:1 or mention it in a channel.

Your agent can join Microsoft Teams as its own app, with the persona's name, photo and description. People chat with it 1:1, or @mention it in a channel or group chat, and it answers there.

Every Teams conversation is also saved in your **Chats** with that agent.

> [!NOTE]
>
> This page is about **chatting** with your agent in Teams. To send an agent into a Teams **meeting**, see [Microsoft Teams meetings](https://docs.waterr.ai/integrations/microsoft-teams.md).

> [!NOTE]
>
> Microsoft Teams chat is a **beta** feature. Replies use your workspace's credits, the same as chatting with the agent in Waterr. If your agent doesn't reply after you've added it, contact us.

## Add your agent to Teams

You add the agent to Teams with a **Teams app file**, a small `.zip` that Waterr builds for this agent. Only the agent's **owner** can download it.

**1. Download the agent's Teams app**

Open the agent in the Studio, go to **Settings › Microsoft Teams** and click **Download**. You get a file named after the agent, such as *Karan Doshi for Teams.zip*.

**2. Upload it in Teams**

In Teams, open **Apps**, then **Manage your apps**, then **Upload an app**. Choose **Upload a custom app**, pick the file and click **Add**.

**3. Send it a message**

Open the chat with the agent and say hello. Your first message switches the agent on for your organization (see [Organizations](#organizations)).

If you don't see **Upload a custom app**, your organization doesn't let people add their own apps. Send the file to your Teams admin and ask them to add it to your organization's apps: in Teams that's **Upload an app to your org's app catalog**, or they can use the Teams admin center.

## Talk to your agent

The agent answers:

* **In a 1:1 chat** with it.
* **When it's @mentioned** in a channel or group chat. Add the app to the team or chat first. Teams only passes messages to the agent when they mention it.

The agent posts *Thinking…* straight away and replaces it with its answer, so Teams marks the answer **Edited**. Bold, lists and links come through as normal Teams formatting.

## Organizations

Anyone can upload an agent's Teams app, so the agent only answers in organizations you've approved. An organization is approved when:

* **you message the agent from it** and the agent recognises you as its owner, or
* **you approve it** in **Settings › Microsoft Teams › Organizations**.

Until then, anyone there who chats with the agent gets a short reply sending them to Waterr instead: *"I can't chat in Microsoft Teams for your organization yet. You can talk to me in Waterr instead"*, with a link to the agent's chat in Waterr. If they don't have access to the agent there, they ask you to share it with them. The reply also links to [a page they can send you](https://docs.waterr.ai/troubleshooting/teams-not-switched-on). Nothing else happens in Teams, and no credits are used.

The **Organizations** list shows where the agent has been used and who used it first:

| Status | Meaning |
| - | - |
| **Answering** | The agent replies in this organization. |
| **Waiting for you to approve** | Someone there wrote to it. Click **Approve** to switch it on. |
| **Blocked** | You blocked it. The agent ignores everyone there. |

## Who gets what

The agent recognises who is writing from Teams' own record of that person. It never goes by what someone types.

| Who | What the agent does for them |
| - | - |
| **You, the owner** | Everything it does for you in Waterr: reads your calendar and mail, schedules calls, starts work on its computer. Anything that reaches other people waits for your **yes**: reply **yes** in the same chat to go ahead, or **no** to drop it. |
| **Colleagues and anyone else** | Answers questions about what it does, using its brief, what your company says about itself, and the web. It never shares your mail, calendar, calls, files or other conversations, and it can't act for you on their request. |
| **Guests in your Teams** | The same as colleagues, even if their email matches yours. |

You're recognised as the owner when your Teams account uses the same email as your Waterr sign-in, or when you've [connected your Teams account](#connect-your-teams-account).

When longer work on the [agent's computer](https://docs.waterr.ai/agent-tools/agent-computer.md) finishes, or gets stuck and needs you, the agent posts the result in the same Teams conversation.

## Connect your Teams account

If your Teams account uses a different email from your Waterr account, the agent won't know it's you. Connect them once:

**1. Ask for a link**

In a 1:1 chat, send the agent the word **link**. The agent also offers the link the first time you write to it.

**2. Open it, signed in to the right Waterr account**

The page shows which Teams account you're connecting and which Waterr account it will count as. To be recognised as the owner, you must be signed in to **the Waterr account that owns the agent**.

**3. Confirm**

Click **That's me — connect**, then go back to Teams and write to the agent again.

The link works for 30 minutes and is only sent in a 1:1 chat. Connecting again replaces the earlier connection, so if you connected the wrong Waterr account, send **link** again and confirm it while signed in to the right one.

## Change the agent's name or photo

The name and photo come from the Teams app file. After you rename the agent or change its persona's photo, click **Download** again and upload the new file in Teams the same way. It has the same app ID and a newer version, so it replaces the old one.

## Limits

To protect your credits, the agent answers at most:

* 120 messages an hour in one organization,
* 30 messages an hour from one person, or 60 from you, the owner.

If your Waterr workspace runs out of credits, the agent tells you in Teams and stops answering until you add more.

## Troubleshooting

> [accordion] "I can't chat in Microsoft Teams for your organization yet"
>
> The agent's owner hasn't approved your organization. See [Agent can't chat in your Teams organization](https://docs.waterr.ai/troubleshooting/teams-not-switched-on).

> [accordion] "No Teams bot is free to give this agent right now"
>
> Each agent gets its own Teams app, and we prepare them ahead of time. If they've all been given out, try again a little later, or contact us.

> [accordion] Teams says the app package can't be uploaded
>
> Try uploading the same file again. If it keeps failing, download a fresh file from Settings › Microsoft Teams and contact us if it still won't upload.

> [accordion] I can't find "Upload a custom app"
>
> Your organization doesn't allow it. Ask your Teams admin to add the file to your organization's apps.

> [accordion] The agent doesn't answer in a channel
>
> Add the app to that team and @mention the agent. Teams doesn't send the agent channel messages that don't mention it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.