Skip to content

New command: planner plan remove #3336

@milanholemans

Description

@milanholemans

Usage

m365 planner plan remove [options]

Description

Removes the Microsoft Planner plan

Options

Option Description
-i, --id [id] ID of the plan to remove. Specify either id or title but not both.
-t, --title [title] Title of the plan to remove. Specify either id or title but not both.
--ownerGroupId [ownerGroupId] ID of the Group that owns the plan. Specify either ownerGroupId or ownerGroupName when using title.
--ownerGroupName [ownerGroupName] Name of the Group that owns the plan. Specify either ownerGroupId or ownerGroupName when using title.
--confirm Don't prompt for confirmation.

Examples

Removes the Microsoft Planner plan by ID

m365 planner plan remove --id gndWOTSK60GfPQfiDDj43JgACDCb

Removes the Microsoft Planner plan with title My Plan in group with specific ID

m365 planner plan remove --title "My Plan" --ownerGroupId 00000000-0000-0000-0000-000000000000

Removes the Microsoft Planner plan with title My Plan in group with name My Planner Group

m365 planner plan remove --title "My Plan" --ownerGroupName "My Planner Group"

Additional Info

Graph docs: https://docs.microsoft.com/en-us/graph/api/plannerplan-delete?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions