Werk #17155: Microsoft Teams: Use workflows instead of connectors

Component Notifications
Title Microsoft Teams: Use workflows instead of connectors
Date Jul 15, 2024
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p11 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p32 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Since Microsoft announced the deprecation of connectors, the notification plugin for Microsoft Teams was adjusted to use workflows.

Deprecation note: https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/

To configure a workflow within Microsoft Teams:

  • Click the 3 dots on a channel and select “Workflows”
  • Choose "Post to a channel when a webhook request is received"
  • Choose name for the workflow, e.g. "Checkmk"
  • Select team and channel where the webhook should post to
  • Copy webhook URL

For further informations please see section "How do I transition from Office 365 connectors to Workflows?" in the deprecation note.

To configure the notification plugin within Checkmk:

  • Post copied webhook URL to "Webhook URL" of your notification rule for MS Teams

If you used custom "Details for host notifications" or "Details for service notifications", the line break "<br>" has to be replaced by "\u00A0\n".

As we now use Adaptive Cards instead of Message Cards, we can no longer use colors.

To the list of all Werks