The bot registration, the app install and chatting with the bot were walked live on 2026-10-14 — Create the Teams bot and Install the app in Teams. The rest of this page states what the code does.
Channel ids
Sariva addresses a Teams channel by its channel id: the19:...@thread.tacv2 string from the channel’s Get link to channel. The GUID in that same link is the team, not the channel.
Three places take a channel id:
The wizard takes either the bare id or the whole link from Get link to channel (
teams.microsoft.com or teams.cloud.microsoft) for both install-wide ids: it URL-decodes the link, keeps the 19:…@thread.tacv2 part and shows it back as “Using channel id 19:…”. It refuses the team GUID on its own and a link to a chat or to the team. sariva validate teams (on TEAMS_ALERTS_CHANNEL_ID) and app registration check the shape of a channel id (19: … @thread. …) and reject anything else — the team GUID and the still-URL-encoded form (%3A, %40) included. Shape is all they can check: an id for a team the bot is not installed in shows up only when Sariva first posts, as per_app_alert_engine_teams_post_failed in the platform log. How an app team finds its id: Find your Teams channel id.
Per-app Teams alerts
Give the app ateams_channel_id at registration, or add it later:
teams_channel_id (or "chat_alerts": false) — see Register an application.
Each alert is a new root message in the channel. Sariva does not need an earlier message from anyone to post — it opens the conversation itself — but the bot must be installed in that team (Install the app in Teams → Per-app alerts). Posts start from TEAMS_SERVICE_URL until an inbound message tells Sariva the tenant’s own endpoint (Give Sariva the values).
What sariva validate teams proves
- Reads
app_id,app_passwordandtenant_idfromnotifications.teamsincustomer_config.yaml, or fromTEAMS_APP_ID/TEAMS_APP_PASSWORD/TEAMS_TENANT_ID. App ID and password are required, then the tenant ID. - If an org alerts channel id is set, checks its shape.
- Requests a token from Microsoft (
login.microsoftonline.com:443) with the App ID and secret.
notifications.teams block, validate prints skipped and exits 0. Failures: Troubleshooting → Microsoft Teams.
What a Teams alert looks like
The same content as the Slack alert, as Teams markdown: a severity marker and the bold title, then a plain-language Likely issue line when Sariva can map one, then the team / cluster / consumer-group line. For example, a critical lag alert:Approvals in Teams
Approvals are text — no cards or buttons. When an action needs approval, the bot’s reply ends with:Approval required — reply in this conversation to approve or decline (your next message is the decision).A destructive action’s data-impact warning is shown above that line. A pull request is posted as a 📥 review link. Sariva identifies a Teams user by their Microsoft Entra object id. It does not read an email address from Teams, and every Teams user gets the
platform_engineer role.
Continue the deployment path
Back to the AWS EKS path
Return to the EKS path map to confirm where this step fits.
Back to the VM path
Running on a Linux VM? Return to the VM checklist.