Integration: Microsoft Teams

Adaptive Cards in Teams When a Machine Needs You

A machine goes offline, loses its picture or has its login rejected, or a server's controller reports a critical fault: a Teams channel gets a card that names the machine and what happened, with a button to the wall. Another card follows when it is over.

What the Channel Gets

An Adaptive Card

The machine's name, what happened and when, in fixed words. There is no template to write, and nothing in a machine's name can run.

A button to the wall

It leads to the address you give under Link in alerts, which opens the wall at the tile the card is about.

Old connectors refused

Microsoft retired the Office 365 connectors on outlook.office.com and webhook.office.com, which take nothing now. qKVM refuses them with a sentence that says so.

One team, its own machines

Each Teams destination has its own events, a severity from which it hears, and all machines or chosen machines and groups.

Set It Up

  1. In TeamsWorkflows, and "Post to a channel when a webhook request is received" for the channel. Copy the address it gives.
  2. In qKVMSettings, Alerts, Add destination, Microsoft Teams, and paste the address.
  3. Link in alertsThe wall's address as your team reaches it, so the card's button leads there.
  4. Send testWhat Teams answered is shown in its own words, with the address's secret parts taken out.

Good to Know

The address
A Workflows address carries its secret in its path and query. It is stored encrypted with the saved passwords, never shown again, and the list shows only its host.
Another workflow
Edited to another address, the destination starts with nothing known: the new channel is not told "back to normal" of a trouble it never heard. A trouble still open in the old channel is closed there by hand.
Many at once
Machines that drop together behind one switch come as one card that lists them.
No proxy
Alerts go straight to the address qKVM checked, never through HTTPS_PROXY. A wall that reaches the internet only through a proxy needs its firewall to pass HTTPS on 443 to Microsoft's host.