Skip to main content

todo list add

Adds a new Microsoft To Do task list

Usage

m365 todo list add [options]

Options

-n, --name <name>

The name of the task list to add.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

Add a task list with the name My task list

m365 todo list add --name "My task list"

Response

{
"displayName": "My task list",
"isOwner": true,
"isShared": false,
"wellknownListName": "none",
"id": "AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA="
}
CTRL + M