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

Notifications

Announcements

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.
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard