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 / ExpressionEvaluationFa...
Power Automate
Unanswered

ExpressionEvaluationFailed. The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('For_each')' is of type 'Object'. The result must be a valid array.

(0) ShareShare
ReportReport
Posted on by 7

Can someone help me on this?

I already somehow manage to have my flow once a MS Forms response was submitted.

Then a different MS Forms will update an existing entry in the sharepoint list but will only update an item with the exact tracking number.

 

The problem now is the error below:

SirAnthony_M_0-1706382872126.png

The expected attachment from the MS Forms is an excel file.

Can anyone help me? I'm on a dead end here 😞

 

Thanks!

Categories:
I have the same question (0)
  • rzaneti Profile Picture
    4,483 Super User 2026 Season 1 on at

    Hi @SirAnthony_M ,

     

    The error is happening due to a data type issue: your 'Apply to each' action was expecting an array as input, but received the value from the current iteration of 'For each' loop, which is an object. 

     

    To solve this problem, we will need to understand your flow design a little better. Please share some images of your flow design (make sure to remove any sensitive content before sharing), especially from the actions allocated inside the 'Apply to each' loop. 

     

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard