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 / Flow Completes but Ret...
Power Automate
Unanswered

Flow Completes but Returns 'Flow has Failed'

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

I have a flow that is creating an Excel file from the filtered content of a SharePoint list.

The Excel document is being created, and the content thereof is correct; however, the flow keeps returning failed.

What am I missing?

Phineas_0-1709056978488.png

 

Categories:
I have the same question (0)
  • Mitanshu Profile Picture
    1,656 Moderator on at

    Some of the items under Apply to Each may have failed.

     

    If you click on Next Failed (see marked screenshot), you will see the failed item(s).

     

    happyume_0-1709058512321.png

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.

  • Phineas Profile Picture
    5,331 Moderator on at

    Only 59 (out of 1004) comply with the filter, and I'm getting all 59 in the created Excel.

    Why doesn't the flow terminate, per the last action, and return 'Succeeded'?

  • Mitanshu Profile Picture
    1,656 Moderator on at

    When you click Next Failed, do you see any error in the Create File action?

    Are all 59 files being created too?

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.

  • Phineas Profile Picture
    5,331 Moderator on at

    Yes, the file is being created and all 59 qualifying items appear in the Workbook.

    Newly created Workbook -

    Phineas_0-1709069086488.png

    First five rows from Excel file -

    Phineas_1-1709069216218.png


    First item in Condition, no errors -

    Phineas_2-1709069312082.png


    All other 58 items have an error, even though they appear in the created Workbook -

    Phineas_3-1709069390603.png

     

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 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard