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 succeeded but the...
Power Automate
Answered

Flow succeeded but the files aren't deleted

(0) ShareShare
ReportReport
Posted on by 24

Hi I am having trouble with a flow that must delete a file after all the other step are done. Every other steps works perfectly but when it comes to delete the files it says that the flow run successfully but the files aren't deleted. I've tried to create another flow that is manually triggered and with another document but it does the same thing. 

Can somebody help me please? 

smt_0-1690904046606.pngsmt_1-1690904113463.png

 

Categories:
  • Verified answer
    creativeopinion Profile Picture
    10,508 Moderator on at

    From what I can see, there aren't any items being returned from the Get files (properties only) action. 

     

    To help with troubleshooting your flow, add a Compose action after the Get files (properties only) action with an expression:

    length([insert get files properties values dynamic content here])

    creativeopinion_0-1690906683041.png

    Run the flow and check the output of the Compose action. If it displays a 0 that means there aren't any files being returned.

     

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

     

  • smt Profile Picture
    24 on at

    It is exactly what is returned. 

    The inputs and outputs are both 0.

     

  • creativeopinion Profile Picture
    10,508 Moderator on at

    This confirms why your flow isn't working. There aren't any files being returned. 

     

    Do you have a Filter Query in your Get Files (Properties Only) action? 

  • smt Profile Picture
    24 on at

    I didn't have any filter activated. But it didn't work. I have done others tests and it work others group teams but in this group it didn't work. So I just moved the flow to another group teams and now it works. 

     

    I don't know why, but now it works.

     

    Thank you for your help.

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard