Skip to content

planner plan get

Retrieve information about the specified plan

Usage

m365 planner plan get [options]

Options

-i,--id [id]
ID of the plan. Specify either id or title but not both.
-t,--title [title]
Title of the plan. Specify either id or title but not both.
--ownerGroupId [ownerGroupId]
ID of the Group that owns the plan. Specify either ownerGroupId or ownerGroupName but not both.
--ownerGroupName [ownerGroupName]
Name of the Group that owns the plan. Specify either ownerGroupId or ownerGroupName but not both.
-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

Returns the Microsoft Planner plan with id gndWOTSK60GfPQfiDDj43JgACDCb

m365 planner plan get --id "gndWOTSK60GfPQfiDDj43JgACDCb"

Returns the Microsoft Planner plan with title MyPlan for Group 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4

m365 planner plan get --title "MyPlan" --ownerGroupId "233e43d0-dc6a-482e-9b4e-0de7a7bce9b4"

Returns the Microsoft Planner plan with title MyPlan for Group My Planner Group

m365 planner plan get --title "MyPlan" --ownerGroupName "My Planner Group"