Skip to main content

Microsoft Teams Integration

Receive real-time CI notifications in any Microsoft Teams channel whenever a test execution completes. Agnox sends an Adaptive Card with execution status, summary stats, and a direct link to the Investigation Hub.


Capabilities

FeatureDescription
Adaptive Card notificationsRich card layout with status badge, pass/fail counts, and action button
Configurable triggersChoose which statuses send a notification (PASSED, FAILED, ERROR, UNSTABLE)
Direct deep linkOne-click link from the Teams card to the Agnox execution drawer
AI snippetFailed execution cards include a truncated AI analysis excerpt

Prerequisites

  • Microsoft Teams with the ability to add Incoming Webhooks to a channel. (Requires Teams Admin or channel owner permissions.)

Step 1 — Create an Incoming Webhook in Teams

  1. In Microsoft Teams, navigate to the channel that should receive notifications.
  2. Click ··· (More options) next to the channel name → Connectors.
  3. Search for Incoming Webhook and click Configure.
  4. Enter a name (e.g. Agnox CI) and optionally upload a logo.
  5. Click Create and copy the generated webhook URL.
Webhook URL format

The URL will look like:

https://your-org.webhook.office.com/webhookb2/...

Keep this URL confidential — anyone with it can post to your channel.


Step 2 — Configure in Agnox

  1. In the Agnox dashboard, go to Settings → Connectors.
  2. Find the Microsoft Teams card and click Configure.
  3. Fill in the fields:
FieldValue
Webhook URLThe URL copied from Step 1
Notify onMulti-select: PASSED, FAILED, ERROR, UNSTABLE
  1. Click Save. The card displays a Connected badge once validated.

Notification Card Layout

A typical FAILED notification looks like this:

┌─────────────────────────────────────────┐
│ 🔴 Execution FAILED │
│ My Test Suite · Run #42 │
│ │
│ Tests: 45 passed · 3 failed │
│ Duration: 4m 12s │
│ │
│ AI Summary: "NullPointerException in │
│ checkout flow after cart update..." │
│ │
│ [ View in Agnox → ] │
└─────────────────────────────────────────┘
Reduce noise

Select only FAILED and ERROR in Notify on to keep your channel focused on actionable signals, and use Slack for full status visibility.


Troubleshooting

ErrorLikely Cause
400 Bad RequestWebhook URL is malformed or expired — regenerate it in Teams
No card appearsThe Notify on list doesn't include the execution status that completed
Card shows but no AI snippetThe Auto Bug feature is disabled for your plan or not yet configured