Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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?

  • wyattdave Profile Picture
    406 Super User 2025 Season 1 on at
    Re: When is "Apply to each" action considered failed

    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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492