powershell
powershell copied to clipboard
[BUG] Get-PnPTermGroup : returns all tenant terms groups and not only the connected site collection's ones
Suddenly the Get-PnPTermGroup cmdlet returns all tenant term groups where it used to only returns the terms groups of the connected site collection.
I'm still working on PowerShell 5.1 and the 1.12.0 version of PnP. I know this version is not maintained anymore but I don't understand why this change suddenly occured.
OS: Windows
How to reproduce :
- Connect to a site collection Connect-PnPOnline -Url [sitecollection] -clientid $myClientId -clientsecret $myClientSecret
- Execute Get-PnPTermGroup
Thank you for your help.