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 / When is "Apply to each...
Power Automate
Unanswered

When is "Apply to each" action considered failed

(0) ShareShare
ReportReport
Posted on by

Hi,

 

does anyone know what are the exact conditions in which an Apply to each action is marked as failed? I can't seem to figure out the pattern, sometimes I have iterations in the loop that fail but the action itself is marked as successful, other times it is considered failed. I thought it's based on the last iteration, but now I have a loop where the last iteration is successful (the last attempted action is successful), but the Apply to each action itself is still marked as failed.

I wasn't to able to find this information anywhere in the documentation and it's quite important for error handling and setting 'run after' rules correctly.

 

Any ideas?

Categories:
I have the same question (0)
  • wyattdave Profile Picture
    493 Moderator on at

    Hi @CleanAndClear ,

    With apply to each the loop will fail if any action within it fails, but it will still complete all iterations. So even if the first item fails, all the rest will complete before the apply to each fails.

     

    The only way to stop this is to have exception catch the action within the loop (See Business Exceptions in this blog Exception Handling in Power Automate - DEV Community)

     


    >----------------------------------------------------------------------------------------------------------------------------------------------
    If this helped solve your question please mark it as the solution.

    I also do a weekly Power Platform blog at https://dev.to/wyattdave

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 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard