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...
Jun 12, 2019
Use SharePoint Online Powershell
connect-sposervice
https://tenant-admin.sharepoint.com
set-spouser -identity "url to the onedrive" -loginname youraccount -issitecollectionadmin $true
Preservation policies can hold it, and or there is a setting in onedrive admin for number of days to keep onedrive data as well, check those, but there is something like 91 days give or take where those sites will hang around even after the site is removed from deleted users.
- VasilMichevJun 12, 2019MVP
That setting is configurable to up to 10 years actually :) https://docs.microsoft.com/en-us/onedrive/set-retention