Forum Discussion
Creating a rule for automated deletion of unused files
https://docs.microsoft.com/en-us/microsoft-365/compliance/retention-policies-sharepoint?view=o365-worldwide
Adam
adam deltinger Hello Adam, thanks for sending me this link. Unfortunatly this isn`t really what I need. It looks like retention policies are something the admin sets once and then applies to all users. This is not what I want because there might be users that don`t want any of there files delete after sometime because they are all important or whatever.
Perfect would be either something the user can set himself directly into OneDrive or a specific folder that you set the rentention policy for. For example you configure that the folder named "Temporary files" will apply the retention policy but all the other folder don`t.
I hope this makes the point a little bit more clear.
- Oct 30, 2020Yes! 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- Pascal_MeierNov 02, 2020Copper Contributor
adam deltinger Hello Adam, thanks for this answer. Unfortunatly we currently don`t have the Microsoft Information Protection activated. Is there any way that wouldn`t involve the Microsoft Information Protection?
Thanks in advance.
- IanLoveridgeNov 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.