Cli-microsoft365: Extend `spo term get` to allow retrieval of a given term by name in a term hierarchy

Created on 29 Nov 2019  路  4Comments  路  Source: pnp/cli-microsoft365

Raised from #1204

We currently do not support the searching of terms by name within a term hierarchy, it is only possible to return a non first level term by passing the Id of the term, however this functionality is provided in the Get-PnPTerm PnP PowerShell cmdlet using the -Recursive switch.

The spo term get command should be extended to include a new option called --recursive which returns the requested term from a given termset by name, irrespective of the level the term is situated in the hierarchy (2nd, 3rd, 4th level terms).

Get-PnPTerm: https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpterm?view=sharepoint-ps

enhancement feature request help wanted

Most helpful comment

I'm keen to help out with this one if no one's working on it already?

All 4 comments

I'm keen to help out with this one if no one's working on it already?

All yours @mpowney thanks for the help 馃憦馃徎

Hey @mpowney, are you still working on this?

Setting as available for picking due to lack of response

Was this page helpful?
0 / 5 - 0 ratings