-->throws exception - because one user name2 still exits
if there is no member, there is no error :)
Expected behavior
-no error
-function to add user with pnp powershell
Actual behavior
System.AggregateException:
.....
---> (Interne Ausnahme #0) Microsoft.Graph.ServiceException: Code: Request_BadRequest
Message: One or more added object references already exist for the following modified properties: 'members'
Steps to reproduce behavior
use the script
Which version of the PnP-PowerShell Cmdlets are you using?
Reporting an Issue or Missing Feature
is there a script / documentation how to add user to unifiedGroup without set every user who still exists in this group?
Set-PnPUnifiedGroup -Identity $group.GroupId -Members @("name@tenant.onmicrosoft.com","name2@tenant.onmicrosoft.com");
-->throws exception - because one user name2 still exits if there is no member, there is no error :)
Expected behavior
-no error -function to add user with pnp powershell
Actual behavior
System.AggregateException: ..... ---> (Interne Ausnahme #0) Microsoft.Graph.ServiceException: Code: Request_BadRequest Message: One or more added object references already exist for the following modified properties: 'members'
Steps to reproduce behavior
use the script
Which version of the PnP-PowerShell Cmdlets are you using?
current (19.06.2020)
Please help