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
aliasorurlbut not both.--alias [alias]The alias of the reference. Specify either
aliasorurlbut not both.-i, --taskId <taskId>ID of the task.
-f, --forceDon't prompt for confirmation
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| Microsoft Graph | Tasks.ReadWrite |
| Resource | Permissions |
|---|---|
| Microsoft Graph | Tasks.ReadWrite.All |
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"
Response
The command won't return a response on success.