Forum Discussion
Lloyd Adams
Jun 12, 2019Iron Contributor
Are OneDrive folders really being deleted?
I've just exported the OneDrive usage report, and I was very surprised to see it still listing OneDrive details for users who left a long time ago. The accounts have been deleted, and managers are g...
Lou_Mickley
Jun 12, 2019Brass Contributor
Lloyd Adams - if the user is deleted from O365, the OneDrive folders/files will be retained for the duration specified in OneDrive Admin > Storage parameter. Default is 30-days, but can be set for up to 3650 days. So yes, the files can outlast the user in O365.
- Lloyd AdamsJun 13, 2019Iron Contributor
We still have default settings, and double checked that retain time is still 30 days. As a manager, I get 30 and 7 day warning emails.
Looking closer at the report, there is a Boolean field 'Is Deleted'. This seems to get set after the 30 day period. I can no longer access any of the OneDrive urls where this flag is set. If they are really deleted, why are they included in the report, and where is the information on number of files, storage used etc. coming from?
- NiteshRanjanJun 13, 2019Copper ContributorThe OneDrive deleted after number of days configured in the OneDrive admin center will be retained in recycle bin. Microsoft retains the OneDrive in this recycle bin for 93 days and can be recovers using below power Set-SPOUser -Site https://<tenant-id>-my.sharepoint.com/personal/first_last_domain_com -LoginName first.last@domain.com -IsSiteCollectionAdmin $false -ErrorAction SilentlyContinue