Forum Discussion

Linus Jacobson's avatar
Linus Jacobson
Copper Contributor
Feb 02, 2018
Solved

Adding users to communication sites

Hello,   I am an global admin and I would like to be able to add new owners to communication sites. There is no problem adding new owners for teamsites since they create O365 groups which I can s...
  • Johanson Sandrasagra's avatar
    Johanson Sandrasagra
    Feb 02, 2018

    After connecting to SharePoint Online Management Shell run the following to identity the Communication Sites

     

    Connect-SPOService

    Get-SPOSite | Where-Object {$_.template -eq "SITEPAGEPUBLISHING#0"}

     

    This should give you a list of all Communication Sites - select the site url and user you wish to add and input them below

     

    $Site = Get-SPOSite "<site url>"

    $user = "<user email>"

    $group = $site.title + " Owners"

    Add-SPOUser -Group $group -site $site.url -loginname $user

Resources