| external help file | sharepointonline.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/sharepoint-online/remove-spohubsiteassociation |
| applicable | SharePoint Online |
| title | Remove-SPOHubSiteAssociation |
| schema | 2.0.0 |
| author | trent-green |
| ms.author | trgreen |
| ms.reviewer |
Removes a site from its associated hub site.
Remove-SPOHubSiteAssociation [-Site] <SpoSitePipeBind>
[<CommonParameters>]Use this cmdlet to remove an association between a site and a hub site.
Important
This cmdlet is currently in preview and is subject to change. It is not currently supported for use in production environments.
If the site or hub site doesn't exist, this cmdlet returns a "File not found" error.
Remove-SPOHubSiteAssociation https://contoso.sharepoint.com/sites/ResearchThis example removes the research site from the marketing hub site.
URL of the site to remove from the hub site.
Type: SpoSitePipeBind
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False