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
Hirofumi OTA
Jul 03, 2018MVP
I can delete Hub Site by using latest SPO Management Shell: Unregister-SPOHubSite <SiteId>
Michal Golan
Jul 17, 2018Copper Contributor
Hi,
I'm facing the same problem and I dont know the site ID or the URL since I've deleted it
any other ideas??
- Hirofumi OTAAug 09, 2018MVP
Can you get SiteId by Get-SPOHubSite?? Get-SPOHubSite cmdlet return SiteId that include deleted it.