SOLVED

Office 365 site collection admin not updated with O365 group owner

%3CLINGO-SUB%20id%3D%22lingo-sub-217927%22%20slang%3D%22en-US%22%3EOffice%20365%20site%20collection%20admin%20not%20updated%20with%20O365%20group%20owner%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217927%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eafter%20a%20modern%20teamsite%20is%20provisioned%20the%20%2Fmngsiteadmin.aspx%20page%20will%20show%20the%20newly%20created%20O365%20group%20as%20a%20member.%20Due%20to%20that%2C%20I%20expected%20every%20member%20of%20the%20O365%20group%20(Owner%20and%20Member)%20to%20be%20a%20site%20collection%20admin.%20Fortunately%2C%20this%20is%20no%20the%20case.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMembers%20of%20the%20%22Member%22%20sub-group%20of%20the%20O365%20group%20is%20not%20able%20to%20access%20%2Fmngsiteadmin.aspx%20whereas%20members%20ofThe%20%22Owner%22%20sub-group%20are.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20though%20I'd%20add%20a%20new%20user%20to%20%22Owner%22%20via%20the%20O365%20portal%20-%26gt%3B%20Groups%20expecting%20this%20new%20user%20to%20gain%20site%20collection%20admin%20rights%20on%20the%20site%20collection.%20However%2C%20as%20with%20members%20of%20the%20%22Member%22%20sub-group%2C%20the%20user%20did%20not%20gain%20site%20collection%20admin%20rights%20(unable%20to%20access%20%2Fmngsiteadmin.aspx).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20this%20makes%20me%20wonder%3A%20What's%20the%20logic%20behind%20and%20Office%20365%20group%20with%20its%20%22Owner%22%20%26amp%3B%20%22Member%22%20sub-groups%20in%20relation%20to%20the%20site%20collection%20administrator%20rights.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMoreover%2C%20I%20find%20it%20very%20confusing%20that%20upon%20provisioning%2C%20the%20O365%20group%20is%20added%20to%20the%20%22Members%20of%20%5BsiteTitle%5D%22%20SharePoint%20security%20group%20although%20the%20O365%20group%20itself%20has%20two%20sub-groups.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat's%20your%20take%20on%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20input.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-217927%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-218250%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20site%20collection%20admin%20not%20updated%20with%20O365%20group%20owner%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-218250%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Christopher%2C%20I%20checked%20back%20today%20and%20now%20the%20user%20that%20was%20added%20can%20access%20%2Fmngsiteadmin.aspx.%20It%20took%20way%20longer%20than%20I%20expected%2C%20though.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you're%20in%20a%20modern%20teamsite%20and%20click%20on%20the%20cog%20wheel%20choosing%20%22site%20permissions%22%20(translating%20from%20another%20language)%2C%20the%20menu%20will%20show%20three%20groups%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20site%20owners%3C%2FP%3E%3CP%3E-%20site%20members%3C%2FP%3E%3CP%3E-%20site%20visitors%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat's%20slightly%20confusing%20is%20that%20the%20O365%20group%20is%20shown%20to%20be%20in%20%22site%20owners%22%20and%20%22site%20members%22.%20However%2C%20when%20I%20go%20into%20%2Fpeople.aspx%20the%20O365%20group%20is%20only%20a%20member%20of%20the%20SharePoint%20security%20group%20%22members%20of%20%5BsiteTitle%5D%20but%20not%20%22owners%20of%20%5BsiteTitle%5D.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMoreover%20it's%20confusing%20because%20if%20you%20put%20a%20user%20into%26nbsp%3B%3CSPAN%3E%22owners%20of%20%5BsiteTitle%5D%22%20he%20will%20get%20the%20%22full%20control%22%20permission%20level%20but%20is%20not%20a%20site%20collection%20admin.%20So%20essentially%20the%20%22site%20owners%22%20from%20the%20cog%20wheel%20shows%20users%20with%20different%20permission%20levels.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20more%20question.%20Is%20there're%20a%20PowerShell%20way%20to%20add%20users%20to%20either%20sub-group%20of%20the%20O365%20group%3F%3C%2FP%3E%3CP%3EI'm%20able%20to%20get%20the%20members%20of%20each%20subgroup%20with%20%22Get-UnifiedGroupLinks%20-LinkType%22%20but%20how%20to%20I%20set%20them%20programatically%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217969%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20site%20collection%20admin%20not%20updated%20with%20O365%20group%20owner%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217969%22%20slang%3D%22en-US%22%3EYou%20have%20to%20wait%20a%20bit%20for%20the%20owner%20to%20be%20granted%20site%20collection%20admin.%20There%20is%20a%20job%20or%20cache%20timeout%20that%20happens%20at%20some%20interval%20that%20adds%20them%20in%20the%20background.%20My%20guess%20is%20you%20tried%20to%20add%20them%20then%20immediately%20try%20to%20access%20this%20page.%20Owners%20are%20site%20collection%20admins%2C%20as%20members%20are%20members%20of%20the%20site.%3C%2FLINGO-BODY%3E
Highlighted
Regular Contributor

Hi,

 

after a modern teamsite is provisioned the /mngsiteadmin.aspx page will show the newly created O365 group as a member. Due to that, I expected every member of the O365 group (Owner and Member) to be a site collection admin. Fortunately, this is no the case.

 

Members of the "Member" sub-group of the O365 group is not able to access /mngsiteadmin.aspx whereas members ofThe "Owner" sub-group are.

 

So I though I'd add a new user to "Owner" via the O365 portal -> Groups expecting this new user to gain site collection admin rights on the site collection. However, as with members of the "Member" sub-group, the user did not gain site collection admin rights (unable to access /mngsiteadmin.aspx).

 

 

So this makes me wonder: What's the logic behind and Office 365 group with its "Owner" & "Member" sub-groups in relation to the site collection administrator rights. 

 

Moreover, I find it very confusing that upon provisioning, the O365 group is added to the "Members of [siteTitle]" SharePoint security group although the O365 group itself has two sub-groups. 

 

What's your take on this?

 

Thanks for your input.

2 Replies
Highlighted
Best Response confirmed by Florian Hein (Regular Contributor)
Solution
You have to wait a bit for the owner to be granted site collection admin. There is a job or cache timeout that happens at some interval that adds them in the background. My guess is you tried to add them then immediately try to access this page. Owners are site collection admins, as members are members of the site.
Highlighted

Thanks Christopher, I checked back today and now the user that was added can access /mngsiteadmin.aspx. It took way longer than I expected, though.

 

When you're in a modern teamsite and click on the cog wheel choosing "site permissions" (translating from another language), the menu will show three groups:

 

- site owners

- site members

- site visitors 

 

What's slightly confusing is that the O365 group is shown to be in "site owners" and "site members". However, when I go into /people.aspx the O365 group is only a member of the SharePoint security group "members of [siteTitle] but not "owners of [siteTitle].

 

Moreover it's confusing because if you put a user into "owners of [siteTitle]" he will get the "full control" permission level but is not a site collection admin. So essentially the "site owners" from the cog wheel shows users with different permission levels.

 

One more question. Is there're a PowerShell way to add users to either sub-group of the O365 group?

I'm able to get the members of each subgroup with "Get-UnifiedGroupLinks -LinkType" but how to I set them programatically?

 

Thanks.