Description
If I try to get a term by name, it will not find it if the term is a child or grandchild in a hierarchy:
The following will throw an error:
m365 spo term get --termSetName "some-set" --termGroupName "some-group" --name "some-childterm-name"
Error: Specified argument was out of the range of valid values.
Parameter name: index
However, the term does exist and it can be retrieved by id.
The same operation with a top level term will succeed.
Steps to reproduce
Create a taxonomy hierarchy and try to retrieve the top-level and child-level terms by name.
Expected results
It finds the term
Actual results
It does not
Diagnostics
No response
CLI for Microsoft 365 version
6.1 (next)
nodejs version
16
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
Description
If I try to get a term by name, it will not find it if the term is a child or grandchild in a hierarchy:
The following will throw an error:
Error: Specified argument was out of the range of valid values.
Parameter name: index
However, the term does exist and it can be retrieved by
id.The same operation with a top level term will succeed.
Steps to reproduce
Create a taxonomy hierarchy and try to retrieve the top-level and child-level terms by name.
Expected results
It finds the term
Actual results
It does not
Diagnostics
No response
CLI for Microsoft 365 version
6.1 (next)
nodejs version
16
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response