planner bucket set
Updates a Microsoft Planner bucket
Usage
m365 planner bucket set [options]
Options
-i, --id [id]
ID of the bucket. Specify either
id
orname
but not both.-n, --name [name]
Name of the bucket. Specify either
id
orname
but not both.--planId [planId]
ID of the plan to update the bucket of. Specify either
planId
orplanTitle
when usingname
.--planTitle [planTitle]
Title of the plan to update the bucket of. Specify either
planId
orplanTitle
when usingname
. Always use in combination with eitherownerGroupId
orownerGroupName
.--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
.--newName [newName]
New name of the bucket.
--orderHint [orderHint]
Hint used to order items of this type in a list view. The format is defined as outlined here.
-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
Updates the Microsoft Planner bucket with ID vncYUXCRBke28qMLB-d4xJcACtNz
m365 planner bucket set --id "vncYUXCRBke28qMLB-d4xJcACtNz" --newName "New bucket name"
Updates the Microsoft Planner bucket named My Bucket in the Plan My Plan owned by group My Group
m365 planner bucket set --name "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group" --newName "New bucket name"
Updates the Microsoft Planner bucket named My Bucket in the Plan My Plan owned by group with ID 00000000-0000-0000-0000-000000000000
m365 planner bucket set --name "My Bucket" --planTitle "My Plan" --ownerGroupId 00000000-0000-0000-0000-000000000000 --newName "New bucket name"
Response
The command won't return a response on success.