I created a Power Automate flow to delete files every 5 minutes from a subfolder in a document library. It runs successfully but does not delete any file. Below are the two flows that I tested, none of them work. Please tell me what needs to be corrected here: enter image description here

enter image description here

  • When Flow runs successfully, are you getting correct file array in output of "Filter Array" action? Check run history for previous flow run. Jan 29, 2020 at 2:42
  • If it runs without errors, but nothing is deleted, most likely problem source is either in your GetFiles action or Filter array, that results in a zero length set of files to process. When you check the outputs of those steps in history, what do you see?
    – willman
    Jan 29, 2020 at 3:36

1 Answer 1


The solution is to use 'List Folder' action:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.