Forum Discussion

Pascal_Meier's avatar
Pascal_Meier
Copper Contributor
Oct 28, 2020

Creating a rule for automated deletion of unused files

Hello together,

 

I was wondering if there is a setting somewhere in OneDrive for Business which allows the user to set a time after which files should be deleted if they haven`t been touched/modified. 

For example if I create a word file to write down some notes or create a draft and I forget about it it will be in my OneDrive forever. I might not want that because after some time I will have hundreds of unused files that I will never use or look at again.

So i was wondering if there is a rule for example that I can apply either to a specific folder or the complete OneDrive that "monitors" the files and deletes the once that have a last modified date older then 90 days. 

At first glance I couldn`t find anything.

 

Only thing I came up with was a Flow that runs everyday and checks those files for the last modified date and then deletes the once that have a value older then 90 days. It`s not finished yet but I am pretty sure it will work BUT this might not be a appropriate solution for my customers.

 

Did someone have this issue/request before?

Best regards Pascal  

Resources