checkId: check.notify.teams.connectivity plugin: stellaops.doctor.notify severity: warn tags: [notify, teams, connectivity, network, air-gap]

Teams Connectivity

This Stella Ops Doctor diagnostic proves that Doctor can actually reach the configured Microsoft Teams webhook, not just that it is well-formed. It performs a live network probe and is therefore skipped in sealed/air-gapped deployments; configuration is validated separately by check.notify.teams.configured.

What It Checks

Verifies that the configured Microsoft Teams webhook endpoint is reachable. The check:

The check only runs when Notify:Channels:Teams:WebhookUrl is set and is a valid absolute URL.

Air-Gap Behavior

When the deployment is sealed by AirGap policy, or STELLAOPS_DOCTOR_OFFLINE_PROFILE=true forces Doctor offline mode, this check returns Skip with airGapSealed=true instead of posting to Microsoft Teams. check.notify.teams.configured still runs because it only validates local configuration.

Use an internal notification bridge, queue export, or offline operator workflow for sealed deployments. Public Teams webhooks require egress and should remain disabled unless policy explicitly allows them.

Why It Matters

An unreachable Teams webhook means notifications silently fail to deliver. Operations teams will miss release alerts and security findings if the webhook is broken.

Common Causes

How to Fix

Docker Compose

docker exec <notify-container> curl -v https://webhook.office.com/

Bare Metal / systemd

curl -v https://webhook.office.com/
curl -H 'Content-Type: application/json' \
  -d '{"text":"Doctor test"}' \
  'https://YOUR_TENANT.webhook.office.com/webhookb2/...'

Check Microsoft 365 service status at https://status.office.com.

Kubernetes / Helm

kubectl exec -it <notify-pod> -- curl -v https://webhook.office.com/

If the webhook is broken, recreate it from the Teams channel: Connectors → Incoming Webhook, then delete and re-create the connector to mint a fresh URL.

Verification

stella doctor run --check check.notify.teams.connectivity