Forum Discussion
Deleting Folders in a Specific Library by using Power Automate
- Feb 19, 2024
omergunduz You have to use the scheduled Power automate flow. Use flow like:
You will have to manually add the display name of your document library in "Delete item" action with the help of "Enter custom value" option. Also, set the recurrent timings and interval as per your requirements.
Reference: Run flows on a schedule
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
omergunduz You have to use the scheduled Power automate flow. Use flow like:
You will have to manually add the display name of your document library in "Delete item" action with the help of "Enter custom value" option. Also, set the recurrent timings and interval as per your requirements.
Reference: Run flows on a schedule
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- omergunduzFeb 20, 2024Copper ContributorI added ... and Created le 'addDays(utcNow(),-3,'yyyy-MM-dd')' to the filter and we are done.
- omergunduzFeb 19, 2024Copper Contributor
ganeshsanap thank you very much! Your suggestion works fluently. However, I only need to delete folder created 30 days ago. How can I add this additional condition? Thank you again for your valuable effort.