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
In my script I use: $members = Get-PnPMicrosoft365GroupMembers -Identity $m365Group.Id
It shows an error "Value cannot be null. (Parameter 'source')" but it works fine
$members contains a list of members as expected.
on the other hand $owners = Get-PnPMicrosoft365GroupOwners -Identity $m365Group.Id shows no error at all and also works fine.
Just FYI
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my script I use:
$members = Get-PnPMicrosoft365GroupMembers -Identity $m365Group.Id
It shows an error "Value cannot be null. (Parameter 'source')" but it works fine
$members contains a list of members as expected.
on the other hand
$owners = Get-PnPMicrosoft365GroupOwners -Identity $m365Group.Id
shows no error at all and also works fine.Just FYI
Thanks for grate Library
Beta Was this translation helpful? Give feedback.
All reactions