Closed MikeGitUser closed 5 days ago
Hey @MikeGitUser , this is by design, not a bug. Get-PnPProperty only works with SharePoint client objects like Web, Lists etc. It is not designed to work with Graph objects.
You can use Invoke-PnPGraphMethod to request additional teams properties.
Hi Team,
Unable to get the Apps property populated in a Team object. Please see the code example below.
My Azure app has Ms Graph App level scope "Group.Read.All" consented.
The call to Get-PnPTeamsTeam is successful and returns the Team details in $team, however "Get-PnPProperty" returns the following error:
I've tried this in both PowerShell 5 and 7 and the following PnP releases and get the same error.
Please let me know if I'm doing something wrong.
Thanks!!