> For the complete documentation index, see [llms.txt](https://docs.firefly.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.firefly.ai/integrations/notifications/microsoft-teams.md).

# Microsoft Teams

Firefly integrates with Microsoft Teams to provide rich notifications for various events and alerts. This integration enables teams to receive real-time updates about infrastructure changes, policy violations, drift detection, and other important events directly in their Teams channels.

> ⚠️ **Microsoft has deprecated legacy Office 365 Connector webhooks** (completed May 2025). If you are using an old `*.office.com` webhook URL, you must migrate to the new **Teams Workflows (Power Automate)** webhook to continue receiving notifications. See [Microsoft's migration guide](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook) for details.

## Prerequisites

* A Microsoft Teams workspace with administrative access
* Appropriate permissions to create webhooks
* Channels where you want to receive Firefly notifications

## Setup Procedure

1. In Microsoft Teams, go to the channel → **Manage channel** → **Workflows** → create a new **"Post to a channel when a webhook request is received"** workflow.
2. Copy the new webhook URL generated by the workflow.
3. In Firefly, click **Settings > Integrations**.
4. Click **Add New > Teams**.
5. Enter a descriptive name in the **Nickname** field.
6. Paste the Webhook URL.

   > ⚠️ **Important:** Check that your URL does **not** contain `:443` after `.com`. Some versions of the Microsoft Teams UI generate URLs with `:443` appended, which will cause the integration to fail. Remove it if present.
   >
   > ✅ Correct: `https://...powerplatform.com/powerautomate/...` ❌ Incorrect: `https://...powerplatform.com:443/powerautomate/...`
7. Click **Next**.
8. Click **Done**.

## Features Enabled

* **Real-time Notifications**: Receive immediate alerts for important events.
* **Rich Message Cards**: Detailed, formatted messages with direct links to Firefly.
* **Customizable Alerts**: Configure which events trigger notifications.
* **Channel-specific Routing**: Send different types of alerts to different channels.
* **Interactive Messages**: Click through to Firefly directly from Teams notifications.

> **Note:** In the integration settings page, use the notification test button to test the integration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.firefly.ai/integrations/notifications/microsoft-teams.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
