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 / This is a new issue. T...
Power Automate
Suggested Answer

This is a new issue. Try posting about it on our community page—somebody may have a fix.

(3) ShareShare
ReportReport
Posted on by 6
 
Good Morning, we use Power Automate at school to send an email to designated staff once a form is completed.  Currently I am recieving an error message that the flow is failing.
 
Error:  Action 'Apply_to_each' failed
Error Details: The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_2')?['resourceData']' is of type 'Object'. The result must be a valid array.
SolutionThis is a new issue. Try posting about it on our community page—somebody may have a fix.
 
I have no idea how to fix this as I am not an expert in Forms/Power Automate in anyway, but it has worked without issue for over 4 years until today and our tech department has no idea how to fix it.
 
Hopefully someone out there has the solution!
Thanks,
Bethany
I have the same question (0)
  • Suggested answer
    AnthonyAmador Profile Picture
    2,557 Moderator on at
    Hi,

    If this issue started happening without any prior modifications, I suggest opening a support ticket with Microsoft. Here is the documentation on how to do it: https://learn.microsoft.com/en-us/power-platform/admin/get-help-support

    To understand what is failing, more details are necessary. What is the dynamic content used in the “Apply to each” action? From which action is the dynamic content coming? Maybe attach a screenshot of the flow to help understand the logic.
     
    Best, 
    Anthony. 
     
     
     
  • Suggested answer
    eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at
    Can you share a screenshot of the flow and specifically the Forms output that you are trying to loop in Apply to each? I think the output might have changed. As the error details suggests you are getting an Object type when it should be an Array type.
    Maybe compare the flows that ran fine until this issue. and check the output of the Form resourceData. Is it same as now when the flow fails?

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 267 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 196

#3
Haque Profile Picture

Haque 182

Last 30 days Overall leaderboard