Hi,
We have a lot of alerts that were sending to Slack and we have now moved to Teams - I updated the webhooks so it is posting to Teams but it's only posting the first line and has no other info.
This is the original body - removing payload= allows it to post a single line but nothing else.
How can I format this to work in Teams?
payload={"text":"${N=SwisEntity;M=ApplicationAlert.ApplicationName} is currently ${N=SwisEntity;M=ApplicationAlert.ApplicationAvailability}", "attachments":[{"text":"The application ${N=SwisEntity;M=ApplicationAlert.ApplicationName} on ${N=SwisEntity;M=Node.Caption} (${N=SwisEntity;M=Node.IP_Address}) is currently in a state of ${N=SwisEntity;M=ApplicationAlert.ApplicationAvailability}. The following is a list of components in this application presently in distress. ${N=SwisEntity;M=ApplicationAlert.ComponentsWithProblems}", "title": "Application ${N=SwisEntity;M=ApplicationAlert.ApplicationName} on ${N=SwisEntity;M=Node.Caption} is currently in a ${N=SwisEntity;M=ApplicationAlert.ApplicationAvailability} state","title_link": "${N=SwisEntity;M=DetailsUrl}","color":"#FEE529" }]}