How to recover the contents of a personal site of a deleted user account, which was also deleted.
Issue Description:
In SharePoint Online:
- After deleting the user account, the personal site corresponding to it was also deleted;
- You would like to recover the contents from it.
Solution:
- The behavior as described here:
How user profiles are deleted in SharePoint Online and OneDrive for Business
- We restored the site using the commands described below:
Connect to SharePoint Online PowerShell
Get-SPODeletedSite
Get-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/arecycledsite Restore-SPODeletedSite
Restore-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/arecycledsite
Additional info:
- After copying the content to the new site, you may delete it by adding the following to the URL:
“/_layouts/15/deleteweb.aspx”
Ex:
https://<Domain>-my.sharepoint.com/personal/<username>_<domain>/_layouts/15/deleteweb.aspx
I hope this helps (HTH).
Have a nice and productive day !
Helio de Andrade