I am using pnp template provisioning and have an xml template. In the xml template I created 1 custom site group. I would like to set this group as an associated owner group. How to do this?
See below the sitegroup definition in my pnp template:
<pnp:SiteGroups> <pnp:SiteGroup Title="MyCustomOwnerGroup" Description="MyCustomOwnerGroup" Owner="i:firstname.lastname@example.org" OnlyAllowMembersViewMembership="false" AllowMembersEditMembership="true"/></pnp:SiteGroups>
A workaround for now is to do it in pnp powershell after the pnp template provisioning is finished:
Set-PnPGroup -Identity "MyCustomOwnerGroup" -SetAssociatedGroup Owners