Forum Discussion
Anonymous
Nov 27, 2018Possible to set default Members group for a site with PowerShell?
Hello, does anyone know if it's possible to set a default Members group via PowerShell? The reason I'm asking is because we've identified a couple of sites lacking the default Members group. It ...
Anonymous
Jul 16, 2020Bumping this as I'm time and again running into that issue that I have to change the default sharing group for a lot of sites. Still can't find a way how to achieve this. Has anyone ever found a solution for this? Thanks.
JamesOrton
Sep 15, 2020Copper Contributor
Hi Deleted
Try Set-PnPGroup -Identity 'My Site Members' -SetAssociatedGroup Members
https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpgroup?view=sharepoint-ps