web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Post to a channel when...
Power Automate
Unanswered

Post to a channel when a webhook request is received from Dynatrace custom integration

(0) ShareShare
ReportReport
Posted on by

Hi. I'm trying to migrate over from old webhooks to workflow webhooks due to the retirement of Office 365 connectors.
I used to just send an easy custom payload with placeholders i made in Dynatrace that took information from a problem and sent the payload to Teams:
 
Tried to just change the webhook with one i made with the trigger "When a Teams webhook request is received" and action "Post adaptive card and wait for response" where i picked "contentType" as Dynamic content (only options i got was type, contentType, $schema and version). Got the following error:

I made an Adaptive Card and put it in the custom payload in Dynatrace
{
    "type": "AdaptiveCard",
    "attachments": [      
        {        
            "contentType": "application/vnd.microsoft.card.adaptive",
            "contentUrl":null,
            "content": {
                "$$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
                "type": "AdaptiveCard",
                "version": "1.4",
                "body": [
                    {
                        "type": "TextBlock",
                        "size": "Medium",
                        "weight": "Bolder",
                        "text": "Dynatrace problem notification"
                    },
                    {
                        "type": "TextBlock",
                        "weight": "Bolder",
                        "text": "{state}",
                        "wrap": true
                    },
                    {
                        "type": "TextBlock",
                        "weight": "Bolder",
                        "text": "{ProblemID}",
                        "wrap": true
                    },
                    {
                        "type": "TextBlock",
                        "weight": "Bolder",
                        "text": "{ProblemTitle}",
                        "wrap": true
                    }
                ]
            }
        } 
    ]
}

and got the following error:

Been going back and worth trying different ways to write adaptive cards, having them in the custom payload or having them in the action message and try to call on functions with the information in the payload in the webhook without getting it to work. Feel like i have read most of the forums and discussions that are now, so felt it was time to post a question myself.

Please help, code and last error picture above is what i have now.
Skjermbilde 2024-12-12 151440.png
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard