CMK version: Enterprise 2.4.0p5 OS version: SUSE Linux Enterprise Server 15 SP7 x86_64
Error: Notifications received via Microsoft Teams produce an empty field for “Event.” Notifications via email correctly provide the event text, such as “Stopped Flapping (while UP)”.
You can work with Event: $PREVIOUSSERVICEHARDSTATE$ → $SERVICESHORTSTATE$
insted of Event: $EVENT_TXT$
in the Details for service notifications.
If you hit “Notification context” in the Notification Analysis you find more Macros you can use to enhance the Notification, and adjust the details according to your needs.
Hope that helps.