Forum Discussion
M Mohana Anjaneyulu
Oct 04, 2018Copper Contributor
Assciate Classic Team site with Hub site
any possibility to Associate Classic team site (Site collections created under sites ..../sites/SC Name ) to a Hub site? Is it possible to do it? If yes, steps please.
- Oct 04, 2018I think this is coming, but for now what you can do is connect your classic site to a new Office 365 Group and you should be able to join to a Hub Site
M Mohana Anjaneyulu
Oct 04, 2018Copper Contributor
Thank you. It worked.
With out connecting to Office 365 group, can't we make it? If we connect to Office 365 group, it almost changing Template it seems.
SusanHanley
Oct 04, 2018MVP
I think you can do it with PowerShell: https://docs.microsoft.com/en-us/sharepoint/dev/features/hub-site/hub-site-powershell
- Oct 04, 2018And this is the way of doing using SPO Management Shell (you will need to install last version or simply import SharePoint Online cmdlets in a regular PowerShell Session):
$sUserName="<SPO_Admin_User or O365_Admin_User>
$sMessage="Type your Office 365 Credentials"
$sSPOAdminCenterUrl="https://<Office365Domain>-admin.sharepoint.com"
$O365Cred=Get-Credential -UserName $sUserName -Message $sMessage
Connect-SPOService -Url $sSPOAdminCenterUrl -Credential $O365Cred
Add-SPOHubSiteAssociation -Site "<Site_To_Add_To_Hub>" -HubSite "<Hub_Site_Url>
Remove-SPOHubSiteAssociation -Site "<Site_To_Remove_From_Hub>"
Just replace the "<>" with your data - Oct 04, 2018Yes, you can do it with PowerShell but you will only see the Hub navigation and the other stuff in the modern "side" of your classic site
- Brian RiesenJul 03, 2019Brass Contributor
jcgonzalezmartin This is the first place I've seen this mentioned but my testing shows the same. This effectively makes any classic sites associated with a hub site dead-ends, unless you manually add links back to the hub site within the classic site directly.
I wonder if this is due to the Master Page template controlling the global hub navigation element, and if the classic site's master pages could be modified to add it above the rest of the classic site template???