powershell
powershell copied to clipboard
[BUG] Get-PnPTeamsChannel does not return all values in GCC High
Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
- Are you using
Invoke-PnPSiteTemplateorGet-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues. - Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
- If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues
Reporting an Issue or Missing Feature
When executing Get-PnPTeamsChannel in a GCC High Tenant, not all values for the channel are returned. Specifically the Type, Tabs, and TabResources. I looked for the -Include switch that is often present to return additional fields but did not find it.
Expected behavior
Please describe what output you expect to see from the PnP PowerShell Cmdlets I expected to see the values populated in the response or a parameter where I could specifically request the additional fields that I need.
Actual behavior
Please describe what you see instead. Please provide samples of output or screenshots. Will add when I can get to the machine where this is occuring.
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists Connect-PnpOnline -url $siteUrl -Interactive -ClientId 35e....76bc -tenant customer.onmicrosoft.com -azureenvironment UsGovernmentHigh -CreateDrive Get-PnPTeamsChannel -Team "My Team Name" | FL
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
2.2.107
Which operating system/environment are you running PnP PowerShell on?
- [X ] Windows
- [ ] Linux
- [ ] MacOS
- [ ] Azure Cloud Shell
- [ ] Azure Functions
- [ ] Other : please specify