Forum Discussion

john john's avatar
john john
Steel Contributor
Dec 05, 2018

Trying to associate a site with a Hub site will return this error "Sorry you do not have access"

I have a communication site which i Register it as a Hub site using this commands:-

 

PS C:\windows\system32> Connect-SPOService -Url https://****-admin.sharepoint.com -Credential $userCredential
PS C:\windows\system32> Register-SPOHubSite https://****.sharepoint.com/sites/commTest

 

and when i was asked to pass parameters for the Principals, i click on enter (i did not enter anything) as follow:-

 

cmdlet Register-SPOHubSite at command pipeline position 1
Supply values for the following parameters:
Principals[0]:

 

now we have a user who has created a modern team site, and he was able to see the above hub-site inside the list of "Hub Site association" as follow (while we have other hub sites that did not show inside the list):-

but then the user select the above hub site and click on save, he got this error:-

 

so can anyone advice on this?

 

7 Replies