cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ukmercenary
New Member

Use flow to delete a folder from one drive

I was wondering if there is an easy way to delete the contense of a folder after x amount of days?

I have a CCTV camera uploaidng vidoes and photos that I want deleting after 14 days is this possible with MS Flow?

1 ACCEPTED SOLUTION

Accepted Solutions
CFernandes
Super User
Super User

Hey Mate,

 

If you want to delete folder in OneDrive, I am afraid that it is not possible currently. Flow doesn’t have an delete folder action, besides, we cannot use “Delete file” action to delete folders.

 

Please feel free submit a request on Flow Ideas Forum, I will suggest other customers who have the same request to vote your idea as well:https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas 

 

You will have to use the Delete File action, You can have a look at https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Delete-files-older-than-X-days-fro... 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

View solution in original post

1 REPLY 1
CFernandes
Super User
Super User

Hey Mate,

 

If you want to delete folder in OneDrive, I am afraid that it is not possible currently. Flow doesn’t have an delete folder action, besides, we cannot use “Delete file” action to delete folders.

 

Please feel free submit a request on Flow Ideas Forum, I will suggest other customers who have the same request to vote your idea as well:https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas 

 

You will have to use the Delete File action, You can have a look at https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Delete-files-older-than-X-days-fro... 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,215)