Skip to content

planner bucket list

Lists the Microsoft Planner buckets in a plan

Usage

m365 planner bucket list [options]

Options

--planId [planId]
ID of the plan to list the buckets of. Specify either planId or planName but not both.
--planName [planName]
Name of the plan to list the buckets of. Specify either planId or planName but not both.
--ownerGroupId [ownerGroupId]
ID of the group to which the plan belongs. Specify ownerGroupId or ownerGroupName when using planName.
--ownerGroupName [ownerGroupName]
Name of the group to which the plan belongs. Specify ownerGroupId or ownerGroupName when using planName.
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Lists the Microsoft Planner buckets in the Plan xqQg5FS2LkCp935s-FIFm2QAFkHM

m365 planner bucket list --planId "xqQg5FS2LkCp935s-FIFm2QAFkHM"

Lists the Microsoft Planner buckets in the Plan My Plan owned by group My Group

m365 planner bucket list --planName "My Plan" --ownerGroupName "My Group"