Skip to content

planner bucket add

Adds a new Microsoft Planner bucket

Usage

m365 planner bucket add [options]

Options

-n, --name <name>
Name of the bucket to add.
--planId [planId]
Plan ID to which the bucket belongs. Specify either planId or planName but not both.
--planName [planName]
Plan Name to which the bucket belongs. 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.
--orderHint [orderHint]
Hint used to order items of this type in a list view. The format is defined as outlined here.
-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

Adds a Microsoft Planner bucket with the name My Planner Bucket for plan with the ID xqQg5FS2LkCp935s-FIFm2QAFkHM with order hint

m365 planner bucket add --name "My Planner Bucket" --planId "xqQg5FS2LkCp935s-FIFm2QAFkHM" --orderHint " !"

Adds a Microsoft Planner bucket with the name My Planner Bucket for plan with the name My Planner Plan owned by group My Planner Group

m365 planner bucket add --name "My Planner Bucket" --planName "My Planner Plan" --ownerGroupName "My Planner Group"