You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making a new group, I expect to be able to use an existing group (Site Owner Group) as an owner of the new group.
Actual behavior
Group is created, error message "Group cannot be found", and the group owner on the new group is set to my current user.
Steps to reproduce behavior
$w = get-pnpWeb
$spOwnerGroup = get-pnpproperty -ClientObject $w -Property AssociatedOwnerGroup
$spGroup = new-pnpGroup `
-Description "testing group with owner set to site owner group ($($spOwnerGroup.Title))" `
-Owner $spOwnerGroup `
-Title "New group test"
Receive error:
New-PnPGroup: Group cannot be found.
Group is created on site, but the Owner is not set to the SP Owner Group, it is set to my account.
What is the version of the Cmdlet module you are running?
2.12.0 Windows.
Which operating system/environment are you running PnP PowerShell on?
Windows
Linux
MacOS
Azure Cloud Shell
Azure Functions
Other : please specify
The text was updated successfully, but these errors were encountered:
Reporting an Issue or Missing Feature
Issue
Expected behavior
When making a new group, I expect to be able to use an existing group (Site Owner Group) as an owner of the new group.
Actual behavior
Group is created, error message "Group cannot be found", and the group owner on the new group is set to my current user.
Steps to reproduce behavior
Receive error:
New-PnPGroup: Group cannot be found.
Group is created on site, but the Owner is not set to the SP Owner Group, it is set to my account.
What is the version of the Cmdlet module you are running?
2.12.0 Windows.
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: