[FEATURE] Allow setting Members in New-PnPSite
sympmarc opened this issue · comments
Describe the solution/cmdlet you'd like
When we create a site with New-PnPSite
, we can specify the -Owners
. It would be great to also have the ability to set the -Members
, Setting Members is actually a lot harder than it should be, since there isn't a way to do it without reaching into AAD, unless I'm missing something.
Describe alternatives you've considered
We end up using Set-PnPUnifiedGroup
, which requires a connection to AAD. It seems like it would make sense to be able to do this with the one call to New-PnPSite
.
Additional context
It's also difficult to set multiple Members in a PnP Provisioning Template, so these cmdlets are key to use in concert with the templating.