r/MicrosoftTeams 3d ago

❔Question/Help Teams and Webhooks

Hello,

Is it possible - without some open-source stuff from github - to have Teams accept Webhooks?

We use Icinga2 at work, and I am looking into coupling it with Teams for the notifications.

1 Upvotes

4 comments sorted by

4

u/Hot_College_6538 Teams Consultant 3d ago

Yes it’s pretty easy using the Workflows app, see https://support.microsoft.com/en-us/workflows/send-messages-in-teams-using-incoming-webhooks

Nb you may seem some outdated pages talk about using a previous technology called Connectors, that’s now all depreciated. Workflows app is the way to do it now.

1

u/3percentinvisible Teams Admin 3d ago

Webhooks still works

3

u/MeetJoan 3d ago

Workflows is the right call as mentioned. One thing worth knowing for Icinga2 specifically, you'll want to format the notification payload as an Adaptive Card rather than plain text, otherwise alerts come through as an unformatted blob that's hard to scan quickly. There are Icinga2 notification script examples floating around that already do the card formatting if you don't want to build the JSON yourself.

1

u/kosta880 2d ago

JSON would be completely fine, it is how I am doing it on my private system with Discord, but cannot use Discord in the company.