Microsoft Teams

Bring Ask AI into Microsoft Teams — message the bot or @mention it in a channel, run bot commands, set up alerts, and unfurl TestRelic links.

The TestRelic Microsoft Teams App brings Ask AI into the Teams channels where your team already works. It is the Teams counterpart to the Slack App: message the bot or @mention it in a channel to run an Ask AI prompt, set up monitoring alerts, and paste TestRelic links that unfurl into preview cards — all without leaving Teams.

Ask AI prompt in Teams
Teams
TestRelic Ask AI
Tool calls on your run data
Threaded reply with charts and links

Growth plan required

The Teams App talks to Ask AI, which is included in every paid cloud plan (Growth and up). See Plans & Billing for details. Teams turns go through the same subscription and AI token checks as the web app.

What the integration enables

The Teams App mirrors the Slack App, mapped onto Teams terminology:

  • Ask AI from Teams — Message the bot 1:1, @mention it in a channel, or use it in a group chat. It runs your prompt through Ask AI and replies in the conversation with deep links into the web app.
  • Bot commands — ask, alert, link and help (see Commands).
  • Alerts — The alert command opens the alert policy form, and Teams is one of the alert notification channel types.
  • Link unfurls — Paste a TestRelic link to a repository, run, test case, Ask AI conversation or shared artifact and it unfurls into a preview card, scoped to your organization.
  • Threaded follow-ups — Replies in the same thread continue a single Ask AI conversation. Because a channel thread is shared, any linked member of your TestRelic org can pick it up.

The app uses the same Ask AI runtime, artifacts and memory as the web app and the Slack App.

Installing the Microsoft Teams App

Installation is a two-step flow. Unlike Slack, connecting in TestRelic alone is not enough to make the bot appear in Teams — you also have to add the Teams app package.

Step 1 — Connect in TestRelic

  1. Open Settings → Integrations in the TestRelic web app and, on the Marketplace tab, click Connect on the Microsoft Teams card.
  2. You are redirected to Microsoft to sign in with your work account and grant consent.
  3. After approval you are returned to TestRelic and Microsoft Teams appears on the Connected tab as Connected, with Reinstall and Disconnect Microsoft Teams.

This step binds your Teams tenant to your TestRelic org. It establishes the trust relationship — but it does not, on its own, place the bot in any Teams channel. If the card reads Unavailable, the Teams app is not enabled on your environment — contact your administrator.

Connect alone does not add the bot

Microsoft Teams requires a separate app package to be installed before the bot is usable. Connect only links your tenant to your TestRelic org. The TestRelic bot appears in Teams only after Step 2 below. If you finish Step 1 and the bot is nowhere to be found, that is expected — continue to Step 2.

Step 2 — Add the Teams app package

The bot becomes available in Teams once the TestRelic Teams app package is added to your tenant:

  • Sideload it yourself — If your tenant allows custom app uploads, add the app package directly from Apps → Manage your apps → Upload an app in the Teams client.
  • Have a Teams admin upload it — If custom uploads are restricted, a Teams administrator can publish the package to your organization's app catalog from the Teams admin center, after which everyone in the tenant can add it.

Once the package is installed, add the TestRelic app to the channels where you want to use it, then address the bot with a prompt.

The two steps can be done in either order, but both are required: Connect (Step 1) establishes the tenant ↔ org link, and the app package (Step 2) places the bot in Teams. Only when both are done will prompts reach Ask AI.

Linking Teams users

Each Teams user is matched to a TestRelic account in your organization — automatically, when their work email matches a TestRelic account. Otherwise, the link command gives them a link to open from a signed-in TestRelic browser session.

Commands

Teams lists these as bot commands, and the bot also recognises them as the first word of a message:

CommandWhat it does
ask <question>Ask TestRelic AI a question. Text with no command is treated as a question too.
alertOpen the alert policy form to set up a monitoring alert.
linkConnect your Teams identity to TestRelic.
helpShow what TestRelic AI can do.

Running Ask AI in a channel

@mention the TestRelic bot in any channel it has been added to, and write your prompt in natural language — the same as the Ask AI composer in the web app. In a 1:1 chat with the bot, no mention is needed.

Basic prompts

Channel: QA Leads
@TestRelic which tests broke after yesterday's deploy?

The bot posts a "Working on it…" reply and updates it with the Ask AI answer, with deep links into the web app.

Channel: Checkout Team
@TestRelic show me the flakiest tests in the checkout suite over the last 7 days

Threaded follow-ups

Replying in the thread continues the same Ask AI conversation:

@TestRelic which tests broke after yesterday's deploy?
   ↳ "@TestRelic and which of those have been failing for more than a sprint?"
   ↳ "@TestRelic open a Jira ticket for the top 3"

The third message can use your connected Jira integration without leaving Teams.

Alert notifications

To send TestRelic alerts to Teams, add a Teams notification channel (a Teams incoming webhook URL and the channel name) under Alerts, then route alert policies to it. Notification channels are shared across your organization. You can also send the bot the alert command to open the alert policy form.

Sample use cases

Daily standup helper

@TestRelic what's the test pass rate trend for the last 5 days, and any new flaky tests this morning?

Triage a noisy alert

  1. Open the alert in TestRelic to confirm the failure is real.
  2. Ask the bot whether it was a flake or a real regression; Ask AI looks at retry patterns, comparable past failures and CI metadata.

Cross-team coverage check

A PM asks a coverage question without leaving Teams:

@TestRelic map critical test paths from the checkout journey to confirmation
and flag any P0 gaps for @repo:web-app

Conversation memory and privacy

  • Teams conversations are Ask AI conversations, kept in the same governed Ask AI conversation history as the web app.
  • Memory works the same way as in the web app.
  • Teams delivers channel messages to the bot only when it is @mentioned, so the app does not read general channel traffic.
  • Link unfurls only show data to Teams users linked to a TestRelic account in the same organization.

Troubleshooting

The bot doesn't appear after Connect

This is the most common issue, and it is expected behavior. Connect only links your Teams tenant to your TestRelic org — it does not place the bot in Teams. Complete Step 2 above: add the TestRelic Teams app package (sideload it yourself or have a Teams admin upload it to your org's app catalog). Then add the app to the channels where you want to use it.

Prompts aren't reaching Ask AI

Confirm both halves of the install are in place: the integration shows Connected in Settings → Integrations (Step 1), and the app package is installed and added to the channel (Step 2). If either is missing, prompts will not reach Ask AI.

Plan-upgrade prompt instead of an answer

Ask AI is included in every paid cloud plan (Growth and up). If your org has no active cloud plan, the bot can't answer. See Plans & Billing for details.

Disconnecting

  1. Navigate to Settings → Integrations.
  2. Click Disconnect Microsoft Teams on the Teams card and confirm. Members lose the ability to use the bot until it is reinstalled.

Removing the TestRelic app package from Teams (or having a Teams admin remove it from the app catalog) stops the bot from appearing in channels independently of the connection state.

Was this page helpful?

On this page