Whiel register comminucation site as a hub site asking principals

sns 9,226 Reputation points

Whiel registering comminucation site as a hub site asking principals
what is the prinicpals?
What we should give when it is prompting? Please help and PFA

I have given $null, but not sure of this..
and how do we know Root site template ( which is there by default)? Pleas help on this one also

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,244 questions
0 comments No comments
{count} votes

Accepted answer
  1. Wendy Li_MSFT 1,711 Reputation points Microsoft Vendor

    @sns The parameter -Principals in the command Register-SPOHubSite is used to specify one or more principles (user or group) to be granted rights to the specified HubSite, it is same with the following setting when registering a hub site via UI:


    If you want to register a site as a hub site without setting any principals for it, you can just press Enter for the parameter, like the below:

    Or, you can use the following:

    Register-SPOHubSite https://contoso.sharepoint.com/sites/Marketing  -Principals $null  

    About creating a hub site in SharePoint:


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful