Open ToddKlindt opened 3 years ago
Get-PnPMicrosoft365Group reports HasTeam as False when there's a Team associated with the Group.
The HasTeam property should be True if the Group has a Team.
There are several Groups that have Teams, as evidenced by the Get-PnPTeamsTeam cmdlet, and by going into Teams.
Connect-PnPOnline -Url https://m365x435798-admin.sharepoint.com -Tenant M365x435798.onmicrosoft.com -ClientId d43fa81d-0533-4157-a24e-6358d13edf87 -Thumbprint 1B29A6A72AABBDEE1C6777DEEB2AF990201A1C82
Get-PnPMicrosoft365Group -IncludeHasTeam | select DisplayName, HasTeam, GroupId Get-PnPTeamsTeam | select DisplayName, GroupId, Visibility, IsArchived
Here are the permissions the app has:
3.26.2010.0
Reporting an Issue or Missing Feature
Get-PnPMicrosoft365Group reports HasTeam as False when there's a Team associated with the Group.
Expected behavior
The HasTeam property should be True if the Group has a Team.
Actual behavior
There are several Groups that have Teams, as evidenced by the Get-PnPTeamsTeam cmdlet, and by going into Teams.
Steps to reproduce behavior
Connect-PnPOnline -Url https://m365x435798-admin.sharepoint.com -Tenant M365x435798.onmicrosoft.com -ClientId d43fa81d-0533-4157-a24e-6358d13edf87 -Thumbprint 1B29A6A72AABBDEE1C6777DEEB2AF990201A1C82
Get-PnPMicrosoft365Group -IncludeHasTeam | select DisplayName, HasTeam, GroupId Get-PnPTeamsTeam | select DisplayName, GroupId, Visibility, IsArchived
Here are the permissions the app has:![image](https://user-images.githubusercontent.com/2659747/99590514-0b46b480-29b3-11eb-8199-a49f21e7d5c3.png)
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.26.2010.0
How did you install the PnP-PowerShell Cmdlets?