Usage
m365 planner task set [options]
Description
Updates a Microsoft Planner task
Options
| Option |
Description |
-i, --id <id> |
ID of the task |
-t, --title [title] |
Title of the task. |
--bucketId [bucketId] |
Bucket ID to which the task belongs. If you want to update the task's bucket, specify either bucketId or bucketName but not both. |
--bucketName [bucketName] |
Bucket Name to which the task belongs. If you want to update the task's bucket, specify either bucketId or bucketName but not both. |
--description [description] |
Description of the task. |
--startDateTime [startDateTime] |
Date and time at which the task starts. |
--dueDateTime [dueDateTime] |
Date and time at which the task is due. |
--percentComplete [percentComplete] |
Percentage of task completion. When set to 100, the task is considered completed. |
--assignedToUserIds [assignedToUserIds] |
The comma-separated IDs of the assignees the task is assigned to. Specify assignedToUserIds or assignedToUserNames but not both. |
--assignedToUserNames [assignedToUserNames] |
The comma-separated UPNs of the assignees the task is assigned to. Specify assignedToUserIds or assignedToUserNames but not both. |
--orderHint [orderHint] |
Hint used to order items of this type in a list view. The format is defined in here. |
--assigneePriority [assigneePriority] |
Hint used to order items of this type in a list view. The format is defined in here |
--conversationThreadId [conversationThreadId] |
Thread id of the conversation on the task. This is the id of the conversation thread object created in the group. |
--appliedCategories [appliedCategories] |
The comma-separated categories to which the task has been applied. Possible values see here. Values are set to true. |
Additional Info
Docs: Update plannertask
Examples
Update the Microsoft Planner task with the title My New Task
m365 planner task set --id gndWTUSK80GwPQfiDDj43JgACCCd --title "My New Task"
Update categories of the task
m365 planner task set --id gndWTUSK80GwPQfiDDj43JgACCCd --appliedCategories "category1","category3","category5"
Usage
m365 planner task set [options]
Description
Updates a Microsoft Planner task
Options
-i, --id <id>-t, --title [title]--bucketId [bucketId]--bucketName [bucketName]--description [description]--startDateTime [startDateTime]--dueDateTime [dueDateTime]--percentComplete [percentComplete]--assignedToUserIds [assignedToUserIds]--assignedToUserNames [assignedToUserNames]--orderHint [orderHint]--assigneePriority [assigneePriority]--conversationThreadId [conversationThreadId]--appliedCategories [appliedCategories]Additional Info
Docs: Update plannertask
Examples
Update the Microsoft Planner task with the title
My New Taskm365 planner task set --id gndWTUSK80GwPQfiDDj43JgACCCd --title "My New Task"Update categories of the task
m365 planner task set --id gndWTUSK80GwPQfiDDj43JgACCCd --appliedCategories "category1","category3","category5"