Reporting an Issue or Missing Feature
I have used Get-PnPTeamsUser, Get-PnPMicrosoft365Group, and Get-PnpMicrosoft365GroupOwner to try to get the list of owners for a Team. When I output the results I receive a valid Id value, but all other properties are null.
I also used Graph Explorer to determine if it is returning the correct values and from what I can tell it does work.
Expected behavior
I would expect all available properties to be properly populated.
Actual behavior
Only the property that is populated properly is the Id property.
Steps to reproduce behavior
$connection = Connect-PnPOnline -Url https://$domain.sharepoint.com -ClientId {CLIENTID} -Tenant stateofmichigan.onmicrosoft.com -CertificateBase64Encoded $certString -certificatePassword $certPass.Password
$group = Get-PnPMicrosoft365Group -Identity $DisplayNameOrGroupId -IncludeSiteUrl -IncludeOnwers
$owners = Get-PnPMicrosoft365GroupOwner -Identity $group.GroupId
$owners1 = Get-PnPTeamsUser -Identity $group.GroupId -Role Owner
$group
$owners
$owners1
What is the version of the Cmdlet module you are running?
1.6.0
Which operating system/environment are you running PnP PowerShell on?
Reporting an Issue or Missing Feature
I have used
Get-PnPTeamsUser,Get-PnPMicrosoft365Group, andGet-PnpMicrosoft365GroupOwnerto try to get the list of owners for a Team. When I output the results I receive a valid Id value, but all other properties arenull.I also used Graph Explorer to determine if it is returning the correct values and from what I can tell it does work.
Expected behavior
I would expect all available properties to be properly populated.
Actual behavior
Only the property that is populated properly is the
Idproperty.Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
1.6.0
Which operating system/environment are you running PnP PowerShell on?