powershell icon indicating copy to clipboard operation
powershell copied to clipboard

[BUG] Get-PnPTermGroup : returns all tenant terms groups and not only the connected site collection's ones

Open Mathieu-Valmont opened this issue 1 year ago • 3 comments

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 :

  1. Connect to a site collection Connect-PnPOnline -Url [sitecollection] -clientid $myClientId -clientsecret $myClientSecret
  2. Execute Get-PnPTermGroup

Thank you for your help.

Mathieu-Valmont avatar Oct 08 '24 10:10 Mathieu-Valmont