Extending the retention period of OneDrive for Business for a deleted user for 10 years

%3CLINGO-SUB%20id%3D%22lingo-sub-128433%22%20slang%3D%22en-US%22%3EExtending%20the%20retention%20period%20of%20OneDrive%20for%20Business%20for%20a%20deleted%20user%20for%2010%20years%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-128433%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20As%20far%20as%20I%20know%20once%20a%20user's%20account%20is%20deleted%20as%20a%20part%20of%20his%20exit%20%2C%20the%20OneDrive%20deletion%20timer%20job%20will%20run%20and%20make%20his%20manager%20as%20the%20primary%20admin%20for%20his%20OneDrive%20for%20Business%20folder%20and%20the%20content%20will%20be%20preserved%20for%20the%20next%2030%20days%20.Recently%2C%20a%20year%20back%20Microsoft%20has%20announced%20that%20the%20retention%20policy%20can%20be%20extended%20upto%20a%20year%20and%20I%20even%20wrote%20the%20below%20article%20on%20this%20.However%2C%20I%20also%20read%20somewhere%20that%20this%20has%20been%20extended%20to%2010%20years%20so%20a%20user's%20OneDrive%20for%20Buiness%20folder%20will%20be%20preserved%20for%20next%2010%20years%20.%20So%2C%20I%26nbsp%3B%20would%20like%20if%20it's%20true%20that%20the%20retention%20can%20be%20extended%20upto%2010%20years%20and%20who%20can%20have%20access%20to%20his%20OneDrive%20for%20business%20folder%20for%20the%20next%2010%20years%20%3F%20We%20as%20an%20organization%20are%20looking%20for%20this%20option%20and%20would%20like%20to%20know%20in%20detail%20about%20this%20as%20well%20as%20the%20support%20for%20this%20.%20As%20a%20part%20of%20the%20leaver%20process%20the%20user's%20account%20as%20well%20as%20the%20license%20would%20be%20gone%20and%20we%20would%20only%20like%20to%20preserve%20the%20user's%20OneDrive%20for%20Business%20content%20for%20the%20next%2010%20years%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fvigneshsharepointthoughts.com%2F2017%2F03%2F23%2Fextending-the-retention-period-of-orphaned-personal-site-collections-up-to-a-year%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fvigneshsharepointthoughts.com%2F2017%2F03%2F23%2Fextending-the-retention-period-of-orphaned-personal-site-collections-up-to-a-year%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-128433%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-187569%22%20slang%3D%22en-US%22%3ERe%3A%20Extending%20the%20retention%20period%20of%20OneDrive%20for%20Business%20for%20a%20deleted%20user%20for%2010%20years%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-187569%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20this%20apply%20to%20E1%20and%20E3%20licensed%20users.%20Thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-128556%22%20slang%3D%22en-US%22%3ERe%3A%20Extending%20the%20retention%20period%20of%20OneDrive%20for%20Business%20for%20a%20deleted%20user%20for%2010%20years%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-128556%22%20slang%3D%22en-US%22%3EI%20can%20confirm%20this%20works.%20You%20set%20the%20retention%20in%20the%20OneDrive%20admin%20center.%20License%20removed%20from%20users%20and%20you%20can%20still%20access%20the%20OneDrive%20site.%20If%20you%20don%E2%80%99t%20have%20access%20you%20can%20powershell%20a%20site%20collection%20admin%20to%20the%20site%20to%20access%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-677968%22%20slang%3D%22en-US%22%3ERe%3A%20Extending%20the%20retention%20period%20of%20OneDrive%20for%20Business%20for%20a%20deleted%20user%20for%2010%20years%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-677968%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F875%22%20target%3D%22_blank%22%3E%40Christopher%20Webb%3C%2FA%3E%26nbsp%3Bmy%20boss%20likes%20this%20idea%20for%20retired%20users%20or%20terminated%20users.%20is%20there%20a%20tutorial%20or%20a%20place%20to%20find%20this%20in%20action%20that%20you%20know%20about%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-678101%22%20slang%3D%22en-US%22%3ERe%3A%20Extending%20the%20retention%20period%20of%20OneDrive%20for%20Business%20for%20a%20deleted%20user%20for%2010%20years%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-678101%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F36255%22%20target%3D%22_blank%22%3E%40VIGNESH%20G%3C%2FA%3E%26nbsp%3BRecently%20we%20had%20a%20similar%20issue%20and%20OneDrive%20got%20deleted%20after%2045%20days%20(retention%20set%20in%20our%20tenant).%20However%20for%20some%20critical%20reason%20we%20had%20to%20recover%20that%20so%20we%20found%20a%20power-shell%20to%20recover%20this%20from%20recycle%20bin%20(where%20it%20will%20be%20available%20for%2083%20days).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20find%20out%20if%20the%20site%20is%20in%20recycle%20bin%2C%20run%20the%20following%20commands%3C%2FP%3E%3CP%3EConnect-SPOService%20-Url%20%3CA%20href%3D%22https%3A%2F%2Fcernerprod-admin.sharepoint.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdomain-admin.sharepoint.com%3C%2FA%3E%20%5Bauthenticate%20with%20the%20SPO%20admin%20creds%5D%3C%2FP%3E%3CP%3EGet-SPODeletedSite%20-IncludePersonalSite%3C%2FP%3E%3CP%3E%3D%26gt%3Byou%20can%20save%20the%20output%20in%20the%20.txt%20file%20and%20see%20if%20any%20of%20the%20sites%20returned%20are%20matching%20the%20UPN%20for%20the%20deleted%20users%3C%2FP%3E%3CP%3E%3D%26gt%3BIf%20yes%2C%20you%20can%20restore%20the%20sites%20using%20the%20command%20Restore-SPODeletedSite%20-Identity%20%3CSTRONG%3EURL%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hi All ,

  As far as I know once a user's account is deleted as a part of his exit , the OneDrive deletion timer job will run and make his manager as the primary admin for his OneDrive for Business folder and the content will be preserved for the next 30 days .Recently, a year back Microsoft has announced that the retention policy can be extended upto a year and I even wrote the below article on this .However, I also read somewhere that this has been extended to 10 years so a user's OneDrive for Buiness folder will be preserved for next 10 years . So, I  would like if it's true that the retention can be extended upto 10 years and who can have access to his OneDrive for business folder for the next 10 years ? We as an organization are looking for this option and would like to know in detail about this as well as the support for this . As a part of the leaver process the user's account as well as the license would be gone and we would only like to preserve the user's OneDrive for Business content for the next 10 years .

 

https://vigneshsharepointthoughts.com/2017/03/23/extending-the-retention-period-of-orphaned-personal...

4 Replies
Highlighted
I can confirm this works. You set the retention in the OneDrive admin center. License removed from users and you can still access the OneDrive site. If you don’t have access you can powershell a site collection admin to the site to access it.

Does this apply to E1 and E3 licensed users. Thanks

Highlighted

@Deleted my boss likes this idea for retired users or terminated users. is there a tutorial or a place to find this in action that you know about?

Highlighted

@VIGNESH G Recently we had a similar issue and OneDrive got deleted after 45 days (retention set in our tenant). However for some critical reason we had to recover that so we found a power-shell to recover this from recycle bin (where it will be available for 83 days).

 

To find out if the site is in recycle bin, run the following commands

Connect-SPOService -Url https://domain-admin.sharepoint.com [authenticate with the SPO admin creds]

Get-SPODeletedSite -IncludePersonalSite

=>you can save the output in the .txt file and see if any of the sites returned are matching the UPN for the deleted users

=>If yes, you can restore the sites using the command Restore-SPODeletedSite -Identity URL