SOLVED

Adding users to communication sites

Copper Contributor

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 see in the admin view.

 

I could take over the account but it takes a lot of time ect.

This is a bit of a challenge since users quit and leave locked sites behind them! 

 

Any ideas? 

3 Replies
What about PowerShell? By the way, this is something that is supposed to be addressed by the new SPO Admin Center

I am not sure how I would powershell this, I've never used powershell. 

 

Wow really? Must've missed that :) 

best response confirmed by Johanson Sandrasagra (Microsoft)
Solution

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

1 best response

Accepted Solutions
best response confirmed by Johanson Sandrasagra (Microsoft)
Solution

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

View solution in original post