Whiel register comminucation site as a hub site asking principals

sns 9,226 Reputation points
2021-10-03T05:08:03.463+00:00

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
137191-capture.png

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

SharePoint
SharePoint
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
    2021-10-04T04:33:56.507+00:00

    @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:

    137294-register-hub-site-panel.png

    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:
    137190-image.png

    Or, you can use the following:

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

    About creating a hub site in SharePoint:
    https://learn.microsoft.com/en-us/sharepoint/create-hub-site

    ----------------------------------

    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