Forum Discussion
File retention policy for OneDrive for Business and SharePoint
- Aug 13, 2018
Based on the settings you have selected, this policy will immutably preserve any document that has been modified in the past 2 years. During this 2 years period, if someone tries to delete the document, a copy of it will be saved in the preservation library, which only admins can access. After 2 years past, documents that have been deleted (and moved to the Preservation library) will no longer be protected and will automatically be purged. Documents that have not been marked for deletion will remain intact in their original location. It's all explained in the documentation.
This depends on your goal. If you're just trying to keep files around for 2 years when someone gets deleted from your system but you want their OneDrive site to stay around then you can just setup the Preservation Setting in OneDrive admin center to do this.
This doesn't keep every file change and deletion done by the user thou for 2 years, this is just keeping data around and kept from being purged for 2 years after they have been deleted from the system. So if you just want to prevent data from being removed after user deletion then set this setting here in the OneDrive admin center for 730 days for 2 years: