Hi @himanshu.maity, in this context it seems like the 200 response means that MS Teams accepted the request, but it doesn’t seem to have the result you are looking for. After doing a bit more digging, you may want to try using this documentation instead:
The documentation provides a reference for payload values, as well as a playground where you can test out and view a test version of your webhook card.
https://messagecardplayground.azurewebsites.net/
I went ahead and did a bit of experimentation through the playground and our payload attributes, and found a combination that I think would work well for you. Try it out and let me know how it goes.
{
"@context": "https://schema.org/extensions",
"@type": "MessageCard",
"themeColor": "0072C6",
"title": "New Relic Alerts",
"text": "$EVENT_DETAILS",
"sections": [
{
"heroImage": {
"image": "$VIOLATION_CHART_URL",
"title": "Graph"
}
}
],
"potentialAction": [
{
"@type": "OpenUri",
"name": "View Incident",
"target": [
{
"os": "default",
"uri": "$INCIDENT_URL"
}
]
},
{
"@type": "OpenUri",
"name": "Acknowledge Incident",
"targets": [
{
"os": "default",
"uri": "$INCIDENT_ACKNOWLEDGE_URL"
}
]
}
]
}