Forum Discussion

Robert Allen's avatar
Robert Allen
Copper Contributor
Jul 16, 2016

Official File retention policy for OneDrive for Business and SharePoint

Does anyone have information on the length of time files in OneDrive for Business and SharePoint online are retained after an end user deletes them ?

 

Is there a way of placing unlimited retention on files ?

 

regards,

Rob

  • Items are removed from the recycle bin(s) after 90 days, starting from the original delete date, independently from the recycle bin in which they are (first or second level). Notice that the items do not automatically move from the first level recycle bin to the second level recycle bin. The second level bin is rather an "administrative" bin which is used to recovery items that users have mistakenly deleted from the first level bin. Give a look to this: https://support.office.com/en-us/article/Manage-the-Recycle-Bin-of-a-SharePoint-Online-site-collection-5fa924ee-16d7-487b-9a0a-021b9062d14b?ui=en-US&rs=en-US&ad=US
    • escupham's avatar
      escupham
      Steel Contributor

      I've heard that when a person leaves the company, you can set up OneDrive so it would automatically notify the persons Manager (based on the org chart) and they have 30 days until to get content before it's officially purged.  I can't find documenation on this, do you know where that is or can verify if that's true?

  • Pavel Otych's avatar
    Pavel Otych
    Brass Contributor

    In addition to what Salvatore Marco Biscari said:

     

    Supposing you have an E3 subscription, you can use Preservation policies to preserve content stored in OneDrive/SharePoint for longer time periods or even indefinitely. It's pretty much the same as putting the content on E-discovery hold. The only difference is that the content gets deleted when the user account is de-provisioned. More info here: https://support.office.com/en-us/article/Overview-of-preservation-policies-9c3b1d52-40ce-4ba3-a520-9ae0be15538a

     

    However, last time I checked, there is a small UX issue with these Preservation/E-discovery holds - folders in OneDrive/SharePoint cannot be deleted unless they are empty. Users gets an error message if he tries to delete a folder with some files within it (NGSC/mobile clients work fine, web UI has this issue)

    • Tilo S's avatar
      Tilo S
      Copper Contributor

      seems that content stay if enable before disabling account:

       

      support.office.com

       

      Spoiler
      But if your organization needs to retain mailbox content for former employees, you can turn the mailbox into an inactive mailbox by placing the mailbox on Litigation Hold or applying an Office 365 retention policy to the mailbox in the Office 365 Security & Compliance Center and then removing the corresponding Office 365 account. The contents of an inactive mailbox are retained for the duration of the Litigation Hold placed on the mailbox or the retention period of the Office 365 retention policy applied to it before the mailbox was deleted. You can still recover the corresponding user account for a 30-day period. However, after 30 days, the inactive mailbox is retained in Office 365 until the hold or retention policy is removed.
  • Erica Toelle's avatar
    Erica Toelle
    Brass Contributor

    There are two scenarios here: Does the user account still exist, or will it be deleted?

     

    If the former, as Pavel Otych mentions, you can use a preservation policy. If the latter, OneDrive for Business content will be deleted 30 days after the account is deleted. You will need to migrate the OneDrive content to a new location in order to preserve it.

     

    The other possibility is to apply a legal hold to content. Then it cannot be deleted by a user and will not be deleted even if the OneDrive account is deleted.

    • Kevin Thomas's avatar
      Kevin Thomas
      Brass Contributor

      Hi Erica,

       

      Can you create a preservation policy for accounts that do not exist anymore?  One of the problems we are trying to solve is what to do with OD4B data after an employee leaves the company and their license is removed.  We don't want to lose it after the 30 days, but we also don't want to have download indivudual users' OD4B files and keep them on prem.  Idealy, a preservation policy would work.

       

      If this is possible, do you know if there are any instructions how to to set something like this up?

       

      Thanks!

Resources