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 / 'Apply_to_each_2' fail...
Power Automate
Unanswered

'Apply_to_each_2' failed: he result of the evaluation of 'foreach' expression '@items('Apply_to_each')' is of type 'Object'. The result must be a valid array.

(0) ShareShare
ReportReport
Posted on by 2

Hi everybody, 

 

I building a flow to send a reminder 15 days before the due date. I manage to set all the passage except for the last one: send an email (V2). 

 

I keep receiving this message: 'Apply_to_each_2' failed: he result of the evaluation of 'foreach' expression '@items('Apply_to_each')' is of type 'Object'. The result must be a valid array.

 

Below the passage that create the issue. the "Focal point" column in share point is an email column. 

Teresa_DL_0-1686212878601.png

 

 

Grateful if anyone can help. 

 

Regards, 

T

Categories:
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Teresa_DL 

     

    Pls drag out send an email action out of 'Apply to each 2' which is not required. You can delete 'Apply to each 2' action after dragging out 'send an email' action. Another point is to put only 'Focal Point Email' in the 'To' parameter of 'Send an email' action. 

    The flow should look like this:

    ManishSolanki_0-1686213841927.png

     

    If this helps, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Teresa_DL Profile Picture
    2 on at

    Dear ManishSolanki, 

     

    thank you so much for the quick response. Unfortunately it doesn't allow me to drag out send an email action out of 'Apply to each 2'.  Do you have any other suggestion? I tried to create again the flow but once I insert "Focal point email" but automatically create the step " Apply to each 2. 

     

    Thanks for the help, 

    T

  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Teresa_DL 

     

    It looks like 'Focal Point' is multiuser filed that holds values of more than one user. In that case, add only the 'Focal Point Email' inside the 'To' parameter of 'Send an email' action to make your flow work. 

     

    If this resolves the problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard