Forum Discussion
Pascal_Meier
Oct 28, 2020Copper Contributor
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/modif...
Yes! You can use sensitivity labels with retention configured then
https://docs.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels-sharepoint-onedrive-files?view=o365-worldwide
Adam
https://docs.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels-sharepoint-onedrive-files?view=o365-worldwide
Adam
IanLoveridge
Nov 03, 2020Brass Contributor
adam deltinger If a retention label is applied in OneDrive but the document is moved to Sharepoint, then my understanding is that the label will remain with the document and therefore will be deleted when the retention criteria is fulfilled, even though these rules should only apply to files stored in Onedrive.
Ideally some kind of retention policy that could be applied to a specific file type or Onedrive folder, rather than to everything in every OneDrive. As it is, scripting\automate are the only solutions I can think of.