Apr 03 2018 03:02 PM
Hello. New to the community :) . I'm trying to convert a Communication site to a Hub Site using the SPO Powershell Command Register-SPOHubSite but when I run it, it asks the following:
cmdlet Register-SPOHubSite at command pipeline posistion 1
Supply values for the following parameters:
Principals[0]:
I'm new to powershell so I don't know what values it's wanting or if I'm just doing something wrong...Thanks for any assistance!
Apr 03 2018 04:55 PM
Apr 03 2018 05:02 PM
Hi Chris,
Can you please try like below
Syntax : Register-SPOHubSite -Site <Communication site url>
Example : Register-SPOHubSite -Site https://xxxxxxx.sharepoint.com/sites/MyHubSite
Apr 03 2018 06:20 PM
Hi Chris. Thank you for your response. Yes here is what I tried:
Apr 03 2018 06:21 PM
Hi Jenkins. Thanks for your response. Yes I tried the following:
Apr 03 2018 07:13 PM
Apr 03 2018 07:26 PM
Hi Chris,
I tried using https://xxxx.sharepoint.com/teams/sitecollection, it is working.
Could you please Download and install the SharePoint Online Management Shell and try. maybe latest version missing.
Apr 03 2018 07:28 PM
Apr 05 2018 02:34 PM
principals[0] are list of people allowed to add sites to the hub.
principals are assigned to the attribute permissions
Apr 05 2018 09:26 PM
SolutionApr 09 2018 03:25 PM
Hi Chris,
as Ovi and Philippe already mentioned, the Principals parameter set the permissions for
a) a single user via providing UPN
b) a group of several users via providing an email-enabled security group or
c) all site owners in your organization via just press Enter
... to be able to add sites to this Hub-Site.
This procedure is also explained here: https://support.office.com/en-us/article/create-a-hub-site-in-sharepoint-online-92bea781-15d8-4bda-8...
Happy SharePointing! ;)
Apr 10 2018 12:30 PM
Hello. Yes, this did the trick! Thank you. I simply added the user accounts I wanted to have the ability to join Sites to the Hub and I successfully completed the conversion.
And thanks to everyone for their responses!
Jun 22 2018 02:48 AM
Apr 05 2018 09:26 PM
Solution