Skip to content

planner task reference remove

Removes the reference from the Planner task.

Usage

m365 planner task reference remove [options]

Options

-u, --url [url]
URL location of the reference. Specify either alias or url but not both.
--alias [alias]
The alias of the reference. Specify either alias or url but not both.
-i, --taskId <taskId>
ID of the task.
--confirm
Don't prompt for confirmation
-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,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Removes a reference with the url https://www.microsoft.com from the Planner task with the id 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2

m365 planner task reference remove --url "https://www.microsoft.com" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" 

Removes a reference with the alias Parker from the Planner task with the id 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2

m365 planner task reference remove --alias "Parker" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"