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 Automate
Unanswered

Birthday Automation

(1) ShareShare
ReportReport
Posted on by 2
The execution of template action 'For_each' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each')?['Birthday']' is of type 'String'. The result must be a valid array.
Categories:
I have the same question (0)
  • trice602 Profile Picture
    16,023 Super User 2026 Season 1 on at
    Hi,
     
    Can you share part of your flow here please?  Please paste in screenshots vs adding as attachments - you will get a lot more engagement with pictures of the flow and error.
     
    I'm sure this can be solved quickly.
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     


     
  • David_MA Profile Picture
    13,927 Super User 2026 Season 1 on at
    It looks like the error message indicates that the Apply to each action is being used on a value that is not an array. The expression @items('Apply_to_each')?['Birthday'] is returning a string (single item) instead of an array (multiple items), which is causing the failure.

    To help you better, could you please share a screenshot of your flow, specifically showing how the action that is failing is configured? This will allow us to see the context and provide more precise guidance.

    In general, if the Birthday field is expected to be a single value rather than an array, you might not need the Apply to each action. Instead, you can directly reference the Birthday field without wrapping it in a 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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard