Skip to content

teams chat message list

Lists all messages from a Microsoft Teams chat conversation.

Usage

m365 teams chat message list [options]

Options

-i, --chatId <chatId>
The ID of the chat conversation
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

List the messages from a Microsoft Teams chat conversation

m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2