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" Error ...
Power Automate
Answered

"Apply to Each" Error but No Actions Within Marked as Failed

(0) ShareShare
ReportReport
Posted on by 11

My flow "succeeded" but failed with error "Action 'List_Contacts_with_Matching_Names' failed." However, the "Next/Previous failed" buttons are grayed out. Since this applied to 30k+ records, it seems almost impossible to figure out which one failed. Is there any way I can determine which record has the failed action?

 

hew702_0-1642981323833.png

 

Categories:
  • Verified answer
    Mister_Shaik Profile Picture
    1,008 on at

    Hi @hew702 ,

     

    If your requirement is just to capture the record number, where the action failed. Then you can add a new variable and append the record id to the variable on failure of "List_Contacts_with_Matching_Names" Action. (This can be configured using the Run after settings, once you click on the ellipses of append action)

     

    1. Capture errored item to array.PNG 

     

    Configure run after settings for the append action and it's next action:

    2. Configure run after for append variable.PNG3. configure next action on skipped.PNG

     

    This way, the variable will keep collecting the failed records data and view them after flow run.

     

    Hope you find this helpful!

     

    Kind Regards,

    Shaik Sha
    ________________________________________________________________________

    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Lucas H Profile Picture
    11 on at

    Great solution, thank you very much!

  • GautamTanwar Profile Picture
    25 on at

    Hey @hew702 ,

    I have the same problem. When you say your flow "succeeded", do you mean all items of your Apply to Each action actually ran successfully?

  • Lucas H Profile Picture
    11 on at

    Correct. From what I could see, none of the iterations in my loop had any failed actions. I assumed this since the "Next Failed" and "Previous Failed" buttons were grayed out and I couldn't go through each iteration since I had so many loops.

  • GautamTanwar Profile Picture
    25 on at

    I see. I suppose I was just being lazy hoping you would have implemented the solution and verified that no item actually failed. I'll do a check on my end. Thanks!

  • Lucas H Profile Picture
    11 on at

    I did implement the solution and I'm pretty sure that there was an actual failure somewhere, however it was so long ago that I don't have any memory of what it was and why the Next/Previous Failed buttons were grayed out.

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

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard