pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
985 stars 665 forks source link

New-PnPUnifiedGroup IsPrivate parameter has no effect #1190

Open mschaaks opened 6 years ago

mschaaks commented 6 years ago

Reporting an Issue or Missing Feature

The IsPrivate parameter should result in the creation of a private group.

Expected behavior

The IsPrivate parameter results in a private group.

Actual behavior

The IsPrivate parameter results in a public group.

Steps to reproduce behavior

$group = New-PnPUnifiedGroup -DisplayName $groupname -Owners $owners -IsPrivate -MailNickname $mailNickName -Description $description -Members $members

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

2.19.1710.0

How did you install the PnP-PowerShell Cmdlets?

ijasari commented 6 years ago

Works for me if I use parameter syntax like: -IsPrivate:$true