Forum Discussion
Hirofumi OTA
Mar 29, 2018MVP
Removed Hub Site still display as Hub Site
I did create Hub Site by SharePoint Online Management Shell. after, I did remove that Hub Site permanentaly by SharePoint Online Management Shell (using Remove-SPOSite and Remove-SPODeletedSite).
...
- Jan 26, 2019
Just in case anyone runs into this.......
- Download and Install latest version of SharePoint OnlineManagement shell for Powershell
https://www.microsoft.com/en-US/download/details.aspx?id=35588 - Connect to Sharepoint Online admin site via powershell
Connect-SPOService -Url "https://<tenant>-admin.sharepoint.com" - View hubsite information
Get-SPOHubsite - Copy the ID of the hubsite you wish to delete
- Run the unregister command and add the ID
Unregister-SPOHubSite 4f4cfc32-5331-4af8-8e96-eb820653d8dc
(note that I did NOT add "-Identity" when using only the ID of the hubsite
- Download and Install latest version of SharePoint OnlineManagement shell for Powershell
Beau Cameron
Sep 17, 2019MVP
Hirofumi OTA As someone else has suggested, you have to use the GUID of the site that was deleted.
This is outlined in the documentation.
Clint Lechner
Sep 17, 2019Iron Contributor
Beau Cameron so now I'm just a "somebody".... oh the tears!!!!!!!!
- Beau CameronSep 17, 2019MVP
ha! The @ mention wasn't working!!!