Forum Discussion

John Wynne's avatar
John Wynne
Silver Contributor
Mar 17, 2018

Enable Hub Sites from Microsoft Docs

Reading up on enabling Hub Sites. Others may find this useful too: https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/register-spohubsite?view=sharepoint-ps

5 Replies

  • Yes, excited seeing all the *-pnphubsite PowerShell commandlets added to the March drop. They work! I've registered/unregistered hub sites; added/removed hub site associations. Get-PnpHubSite lists registered sites. HOWEVER ... hub site front-end functionality remains dark: no UI or feature changes :-( Can't wait til everything's lit up!
    • Rob Ellis's avatar
      Rob Ellis
      Bronze Contributor
      I've just created a communications site, registered it as a Hub site using Register-PnPHubSite, then connected an existing Group site to the hub using Connect-PnPHubSite.

      I've then changed the look on the Hub Site, and confirmed that the Group is now using the same look - and a news article published on the Group is rolled up to the Hub.

      Nothing else is visible / configurable in the UI yet though - but, so far, so awesome!
      • John Wynne's avatar
        John Wynne
        Silver Contributor
        Great got news rollup working through Add-SPOHubSiteAssociation! I won’t keep a running commentary but glad to see command line working. Bit of a triumph me using PowerShell.
  • John Wynne's avatar
    John Wynne
    Silver Contributor
    Right, I’ve created some new Sites and registered them as Hub Sites. Nothing at template level yet but interesting to see when these are enabled. Purely a learning experience with PowerShell for me so hopefully a double payback :-)