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 / Error migrating Teams ...
Power Automate
Unanswered

Error migrating Teams Connection to Power Automate Workflow - Discourse webhook

(1) ShareShare
ReportReport
Posted on by

We have a Discourse forum, and we have had a Microsoft Teams Connector receive webhooks from Discourse, so it will post in a Teams channel when there's a new post on our forum. Teams indicated these Connectors were being deprecated, and that we should switch to a Power Automate Workflow.

 

I set up that workflow, copied the new URL for the webhook, and updated our forum to post to that new url. The forum did send the messages to the webhook, but the incoming posts failed during processing. Specifically, the "flow run" failed with this error: 

 

 

Action 'Send_each_adaptive_card' failed

The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body']?['attachments']' is of type 'Null'. The result must be a valid array.

 

 

 

Any advice? 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard