Forum Discussion

Hirofumi OTA's avatar
Mar 29, 2018
Solved

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).  ...
  • Clint Lechner's avatar
    Clint Lechner
    Jan 26, 2019

    Just in case anyone runs into this.......

     

    1. Download and Install latest version of SharePoint OnlineManagement shell for Powershell
      https://www.microsoft.com/en-US/download/details.aspx?id=35588
    2. Connect to Sharepoint Online admin site via powershell
      Connect-SPOService -Url "https://<tenant>-admin.sharepoint.com"
    3. View hubsite information
      Get-SPOHubsite
    4. Copy the ID of the hubsite you wish to delete
    5. 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

Resources