SOLVED

Error while unregistering Hub Site

Copper Contributor

I try to unregister the root site as a Hub Site in order to set a new root site. When I do it in the SharePoint Admin I get an error message.

 

PS42781_0-1641986770741.pngPS42781_1-1641986785976.png

Even after doing it via Powershell (Unregister-SPOHubSite) the site seems to be a Hub Site. In consequence I cannot change the root site of our tenant.

PS42781_2-1641986828422.png

 

Any hints for me?

 

3 Replies
Hi!
Are there any sites associated with the Hub? If that's not the case and a possible cause for the error you are having, I would recommend to open a support ticket so they can take a look
Hi!
There are no sites assigned to that Hub any more.
best response confirmed by PS42781 (Copper Contributor)
Solution
The root site seemed still to be connected to the (not existing) hub. After removing the orphaned association via Powershell (Remove-SPOHubSiteAssociation) all works fine.
1 best response

Accepted Solutions
best response confirmed by PS42781 (Copper Contributor)
Solution
The root site seemed still to be connected to the (not existing) hub. After removing the orphaned association via Powershell (Remove-SPOHubSiteAssociation) all works fine.

View solution in original post