Forum Discussion
Ted McLaughlin
May 23, 2018Brass Contributor
Changing ODFB site ownership after user left the company
Unfortunately my company doesn't delete users when they leave, (they just get put in a special OU), so the ODFB thing of reverting a site to their boss never kicks in. So now I'm trying to change...
HysenTmava
Sep 25, 2020Copper Contributor
do a get-spodeletedsite -site https://tenant-my.sharepoint.com/personal/
faith_smith_123_com if this is true, you can either restore it, or you can add '1' in the end
example
Set-SPOUser -Site https://tenant-my.sharepoint.com/personal/
faith_smith_123_com1 -LoginName david.johnson@123.com -IsSiteCollectionAdmin $true