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
orplanTitle
but not both. --planTitle [planTitle]
- Title of the plan to list the buckets of. Specify either
planId
orplanTitle
but not both. --ownerGroupId [ownerGroupId]
- ID of the group to which the plan belongs. Specify
ownerGroupId
orownerGroupName
when usingplanTitle
. --ownerGroupName [ownerGroupName]
- Name of the group to which the plan belongs. Specify
ownerGroupId
orownerGroupName
when usingplanTitle
. -h, --help [help]
- Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isfull
. --query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv,md
. Defaultjson
--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 --planTitle "My Plan" --ownerGroupName "My Group"
Response¶
[
{
"name": "My Planner Bucket",
"planId": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
"orderHint": "8585363889524958496",
"id": "ttEB_Uj690STdR3GC1MIDZgANq1U"
}
]
id name planId orderHint
---------------------------- ----------------- ---------------------------- -------------------
ttEB_Uj690STdR3GC1MIDZgANq1U My Planner Bucket xqQg5FS2LkCp935s-FIFm2QAFkHM 8585363889524958496
id,name,planId,orderHint
ttEB_Uj690STdR3GC1MIDZgANq1U,My Planner Bucket,xqQg5FS2LkCp935s-FIFm2QAFkHM,8585363889524958496
# planner bucket list --planId "xqQg5FS2LkCp935s-FIFm2QAFkHM"
Date: 27/12/2022
## My Planner Bucket (ttEB_Uj690STdR3GC1MIDZgANq1U)
Property | Value
---------|-------
name | My Planner Bucket
planId | xqQg5FS2LkCp935s-FIFm2QAFkHM
orderHint | 8585363889524958496
id | ttEB_Uj690STdR3GC1MIDZgANq1U