graph teams message list¶
Lists all messages from a channel in a Microsoft Teams team
graph teams message list [options]
||output usage information|
||The ID of the team where the channel is located|
||The ID of the channel for which to list messages|
||Runs command with verbose logging|
||Runs command with debug logging|
Before using this command, log in to the Microsoft Graph, using the graph login command.
This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
To lists all the messages from a Microsoft Teams channel, you have to first log in to the Microsoft Graph using the graph login command, eg.
You can only retrieve a message from a Microsoft Teams team if you are a member of that team.
Retrieve the specified message from a channel of the Microsoft Teams team
graph teams channel message get --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelId 19:firstname.lastname@example.org