title: How to list and delete empty folders on Azure Data Lake Store Gen1
body: <h3>Question 1:</h3>
  <p>Is there a way to list and delete empty folders on Azure Data Lake Store Gen 1?</p>
  <h3>Scenario:</h3>
  <p>We require to periodically run a job to delete all empty folders recursively under a root folder in our data lake storage.</p>
  <blockquote>
  <p>Folder paths cannot be hard coded as there can be 100 s of empty folders.</p>
  </blockquote>
  <h3>Question 2:</h3>
  <p>Can we use Data Factory or Data bricks to perform this operation?</p>
  <p>Thanks.</p>