planner task add
Adds a new Microsoft Planner task
Usage
m365 planner task add [options]
Options
-t, --title <title>
: Title of the task.
--planId [planId]
: Plan ID to which the bucket belongs. Specify either planId or planName but not both.
--planName [planName]
: Plan Name to which the bucket belongs. Specify either planId or planName but not both.
--bucketId [bucketId]
: Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. Specify either bucketId or bucketName but not both.
--bucketName [bucketName]
: Bucket Name to which the task belongs. The bucket needs to be in the plan that the task is in. 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 as outlined here.
--8<-- "docs/cmd/_global.md"
Examples
Adds a Microsoft Planner task with the title My Planner Task for Plan ID xqQg5FS2LkCp935s-FIFm2QAFkHM and Bucket ID hsOf2dhOJkqyYYZEtdzDe2QAIUCR
m365 planner task add --title "My Planner Task Title" --planId "xqQg5FS2LkCp935s-FIFm2QAFkHM" --bucketId "hsOf2dhOJkqyYYZEtdzDe2QAIUCR"
Adds a Microsoft Planner task with the title My Planner Task for Plan Name My Planner Plan and Bucket Name My Planner Bucket
m365 planner task add --title "My Planner Task Title" --planName "My Planner Plan" --bucketName "My Planner Bucket"
planner task add
Adds a new Microsoft Planner task
Usage
Options
-t, --title <title>: Title of the task.
--planId [planId]: Plan ID to which the bucket belongs. Specify either planId or planName but not both.
--planName [planName]: Plan Name to which the bucket belongs. Specify either planId or planName but not both.
--bucketId [bucketId]: Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. Specify either bucketId or bucketName but not both.
--bucketName [bucketName]: Bucket Name to which the task belongs. The bucket needs to be in the plan that the task is in. 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
assignedToUserIdsorassignedToUserNamesbut not both.--assignedToUserNames [assignedToUserNames]: The comma-separated UPNs of the assignees the task is assigned to. Specify
assignedToUserIdsorassignedToUserNamesbut not both.--orderHint [orderHint]: Hint used to order items of this type in a list view. The format is defined as outlined here.
--8<-- "docs/cmd/_global.md"
Examples
Adds a Microsoft Planner task with the title My Planner Task for Plan ID xqQg5FS2LkCp935s-FIFm2QAFkHM and Bucket ID hsOf2dhOJkqyYYZEtdzDe2QAIUCR
Adds a Microsoft Planner task with the title My Planner Task for Plan Name My Planner Plan and Bucket Name My Planner Bucket