0

I've created a site collection and its associated groups (owners, members and visitors) and associated the site collection admin as their owner. I then tried to get them using powershell and it worked fine.

Then, I changed the associated groups owner to a different user (which is members of the owners associated group) and tried to get them through powershell but this time, it seems like sharepoint is not recognizing them :

enter image description here

Does anyone has an idea of what's going on and how to let sharepoint recognize them even if the group owner is not the site collection admin ?

Thanks.

0

Please follow the instructions at "Set up groups" section of this article at support.office.com.

Or you might try setting $web's AssociatedOwnerGroup, AssociatedMemberGroup and AssociatedVisitorGroup manually in powershell

Also there is SPWeb.CreateDefaultAssociatedGroups method to create completely new set of groups, just in case

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.