Microsoft Teams
Connect Microsoft Teams so your team can mention the Sazabi agent to investigate and receive issue notifications in Teams channels.
About
Connecting Microsoft Teams brings the Sazabi agent into your Teams channels. Microsoft Teams is a chat integration and a shared notification channel.
With Microsoft Teams connected you can:
- Mention the Sazabi agent in a channel to investigate and get answers grounded in your data.
- Receive issue notifications as Adaptive Cards in Teams channels.
- Route issues to specific Teams channels through delivery rules.
Connecting Microsoft Teams also makes its MCP tools available to the agent automatically — there is no separate MCP connector to set up.
Prerequisites
- A Microsoft Teams tenant where you can authorize the Sazabi app.
- Organization admin access in Sazabi.
Set up in the dashboard
Open the Microsoft Teams integration
In the dashboard, go to Settings > Integrations > Microsoft Teams.
Authorize the Sazabi app
Start the connection and authorize the Sazabi app for your Microsoft tenant. Microsoft redirects you back to Sazabi when authorization completes.
Route issues to a channel
On the project Settings > Notifications page, add a delivery rule that routes an event type to a Microsoft Teams channel. See Route notifications.
For asking the agent questions from Teams, see Chat guide.
Set up with the CLI
You can also start the Microsoft Teams connection with the Sazabi CLI (installed and authenticated — see CLI reference).
Microsoft Teams connects through an OAuth browser flow — the CLI has no --credentials for it. Its provider id on the CLI is teams:
sazabi integrations connect teamsThe command opens Microsoft's authorization in your browser (sign in to the dashboard as the same user), then waits for you to approve for your tenant. In --json mode it prints an authorization URL to open instead of launching a browser:
sazabi integrations connect teams --jsonThen add a delivery rule so notifications reach a Microsoft Teams channel — from the project Settings > Notifications page, or with the CLI (sazabi notifications delivery-rules create; see Route notifications). Run sazabi integrations list to confirm the connection.
Install the app in Teams
Complete this once per Sazabi environment, using the app package downloaded from that environment. Mentioning the Sazabi agent and receiving notification cards both require the Sazabi app to be present in Teams.
Download the Sazabi app package
On the Settings > Integrations > Microsoft Teams connection page, download the Sazabi app package — a .zip with the app manifest and icons.
Upload it in Microsoft Teams
In Microsoft Teams, open the + (Apps) panel, then Manage your apps > Upload a custom app, and select the .zip. If your organization blocks custom app uploads, a Teams admin can approve the app organization-wide in the Teams admin center.
Add the bot to a channel
Add the Sazabi bot to a standard channel so members can @mention it. Use a standard channel — Teams does not support bots in shared channels and only partially supports them in private channels.
Chat with Sazabi
Once Microsoft Teams is connected, mention the Sazabi agent in a channel or chat to start an investigation without leaving Teams — it answers grounded in your project's data. See Chat outside the dashboard.
Notifications
Use Microsoft Teams as a delivery destination for issue and system events: on the project Settings > Notifications page, add a delivery rule that routes an event type to a Microsoft Teams channel. See Route notifications.
Connected account
You can also connect your personal Microsoft account under Settings > Connected accounts so the agent acts as you in Microsoft Teams. When you have a personal connection Sazabi uses it first and falls back to this organization integration otherwise. See Connected accounts.
Verify
With a delivery rule pointing at a Teams channel, trigger a test issue and confirm a card posts to that channel within a minute. If nothing posts, confirm the rule names both the event type and that channel, and that the Sazabi app has been added to the channel.
Troubleshooting
No card in the channel — Confirm a delivery rule targets that specific Teams channel and that the Sazabi app is present in it.
Connection shows needs attention — The app authorization may have been revoked in your Microsoft tenant. Reconnect from Settings > Integrations > Microsoft Teams.