Forum Discussion
Removed Hub Site still display as Hub Site
- 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
has anyone been able to fix this problem? i am still running into it.
The hubsite has been deleted:
Remove-SPOHubSiteAssociation : File Not Found.
At line:1 char:1
+ Remove-SPOHubSiteAssociation https://ahcusadev.sharepoint.com/sites/W ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Remove-SPOHubSiteAssociation], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.RemoveSPOHubSiteAssociation
Using the IDentity tag i get
Unregister-SPOHubSite : Cannot bind parameter 'Identity'. Cannot convert value "ecbbd04f-3a0a-406b-b8c4-2553ab16b2b5" to type
"Microsoft.Online.SharePoint.PowerShell.SpoHubSitePipeBind". Error: "SpoHubSitePipeBind Url"
Are you using the latest version?
https://www.microsoft.com/en-US/download/details.aspx?id=35588
- Clint LechnerJan 26, 2019Iron Contributor
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
- Jeremy KochSep 15, 2019Copper Contributor
Clint LechnerI will try this as I am suffering from this problem now. Two old hub sites are showing in my list of possible site to set as the associated hub site. very annoying!
- Download and Install latest version of SharePoint OnlineManagement shell for Powershell