cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MS Teams - Dynatrace Alert data escaping

Mullaneyb
Visitor

When a notification is sent via workflow to a MS teams integration some of the payload contains an unescaped \ char

This results in MS Teams adaptive card breaking and showing the raw JSON data.  I believe this is a builtin Dynatrace Infra/Disk alert
/ui/apps/dynatrace.classic.settings/ui/settings/builtin:anomaly-detection.infrastructure-disks

IE.
hostname.com: hostname.com's C:\ drive has less than 12 GiB available.

2 REPLIES 2

marco_irmer
Champion

As a workaround, you could try adding an intermediate step in the workflow that uses JavaScript to scrub errant backslash characters before sending to Teams.

Alternatively, one might think that Dynatrace ought to handle such a scenario gracefully without the need for additional user-generated code. In such a scenario, a Support Ticket or Product Idea might help.

Mullaneyb
Visitor

have raised a ticket 485400 as the client is on the old licence model which only allows one trigger and one action per workflow. 

Featured Posts