Skip to main content

Notifications

Community site session details

Community site session details

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

 

  • smt Profile Picture
    24 on at
    Re: Flow succeeded but the files aren't deleted

    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.

  • creativeopinion Profile Picture
    10,385 Super User 2025 Season 1 on at
    Re: Flow succeeded but the files aren't deleted

    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
    Re: Flow succeeded but the files aren't deleted

    It is exactly what is returned. 

    The inputs and outputs are both 0.

     

  • Verified answer
    creativeopinion Profile Picture
    10,385 Super User 2025 Season 1 on at
    Re: Flow succeeded but the files aren't deleted

    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

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,942 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow