Skip to content

spo term set list

Lists taxonomy term sets from the given term group

Usage

spo term set list [options]

Options

Option Description
--help output usage information
--termGroupId [termGroupId] ID of the term group from which to retrieve term sets. Specify termGroupName or termGroupId but not both
--termGroupName [termGroupName] Name of the term group from which to retrieve term sets. Specify termGroupName or termGroupId but not both
--query [query] JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output] Output type. json|text. Default text
--pretty Prettifies json output
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Important

To use this command you have to have permissions to access the tenant admin site.

Examples

List taxonomy term sets from the term group with the given name

spo term set list --termGroupName PnPTermSets

List taxonomy term sets from the term group with the given ID

spo term set list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb