Forum Discussion
Brent Ellis
Nov 18, 2016Silver Contributor
Force delete Group Site Collection after Group Deleted?
I don't suppose there is a way to force delete a site collection after the group is deleted? I created a test group that happened to use the name that I now need to use. I deleted that group day...
Henk Luggenhorst
Copper Contributor
There is an other thread on this problem: https://techcommunity.microsoft.com/t5/Office-365-Groups/Cannot-delete-sharepoint-after-I-delete-a-group/m-p/57949/highlight/false#M2881
I just posted a solution that helped me:
First unlock the SharePoint site:
Set-SPOSite -Identity https://<name>/sites/<sitename> -LockState Unlock
Then add your global admin account:
Set-SPOSite -Identity https://<name>/sites/<sitename> -owner <your global admin account>
Then delete the site.
Blake Fowler
Jul 20, 2017Copper Contributor
Very helpful. Had some sites get hung after group deletion and this does the trick