Following options are missing for the command todo task add:
Options
| Option |
Description |
--bodyContent [bodyContent] |
The body content of the task. |
--bodyContentType [bodyContentType] |
The type of the content. Possible values are text and html. Default is text. |
--dueDateTime [dueDateTime] |
The date and time when the task is due. This should be defined as a valid ISO 8601 string. |
--importance [importance] |
The importance of the task. Possible values are: low, normal, high. Default is normal. |
--reminderDateTime [reminderDateTime] |
The date and time for a reminder alert of the task to occur. This should be defined as a valid ISO 8601 string. |
Examples
Create a new task with bodytext and reminder and flag it important
m365 todo task add --title "New task" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00 --importance high
Create a new task with due date
m365 todo task add --title "New task" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01T12:00:00
Following options are missing for the command
todo task add:Options
--bodyContent [bodyContent]--bodyContentType [bodyContentType]textandhtml. Default istext.--dueDateTime [dueDateTime]--importance [importance]low,normal,high. Default isnormal.--reminderDateTime [reminderDateTime]Examples
Create a new task with bodytext and reminder and flag it important
Create a new task with due date