[BUG] Get-PnPTeamsTeam Cmdlet Fails with Parsing Error at Offset 260
Reporting an Issue or Missing Feature
I'm reporting an issue with the Get-PnPTeamsTeam cmdlet failing to parse input correctly. This issue has been reported in other bugs: https://github.com/pnp/powershell/issues/4671. The fix is to install the nightly build, but wondering if this will be resolved in a full release?
Expected behavior
The Get-PnPTeamsTeam cmdlet should properly retrieve Teams data when executed, similar to how Get-PnPMicrosoft365Group works.
Actual behavior
Please describe what you see instead. Please provide samples of output or screenshots.
"Get-PnPTeamsTeam: Input string was not in a correct format. Failure to parse near offset 260. Expected an ASCII digit."
Steps to reproduce behavior
Get-PnPTeamsTeam -Identity [guid]"Team GUID" or enumerating through a list of Team connected sites from Get-PnPTenantSite Get-PnPTeamsTeam -Identity $site.GroupId.Guid
What is the version of the Cmdlet module you are running?
3.1.0
Which operating system/environment are you running PnP PowerShell on?
- [ X] Windows
- [ ] Linux
- [ ] MacOS
- [ ] Azure Cloud Shell
- [ ] Azure Functions
- [ ] Other : please specify
Hi @jefmeyer,
I tried to re-produce this issue, but It works for me as intended as I am using the nightly build. We have no ETA when that the release is planned.
Thanks, Nish
Closing this issue as the fix has been done already. We're doing our best push for a new signed release as soon as possible, but are dependant for this on the .NET Foundation to release a code signing certificate to us to sign the release with.