Apr 29 2018 04:42 AM
I just ran into this issue on a test tenant when testing/developing a PowerShell script to deploy a new intranet based on hub sites.
If you create sites, register them as a hub site and then delete the sites again skipping the recycle bin without unregistering them as a hub site first you'll find out that at some point you can't create new hub sites anymore and will receive the error "too many hubsites".
Get-SPOHubSite returns all the hub sites previously created, but since the sites don't exist anymore there is no way to unregister them.
Apr 29 2018 05:24 AM
Apr 29 2018 06:00 AM
SolutionApr 29 2018 06:00 AM
Solution