Usage
m365 teams chat list [options]
Description
List the chat conversations (1 on 1 chat OR Group chat OR Meeting Chats etc) in Microsoft Teams
Options
| Option |
Description |
-t, --type [chatType] |
The type of chat conversation (Allows values oneOnOne, group or meeting) |
Additional Info
We will have to use the Graph API end point - v1.0/chats/ as per this documentation.
New Azure AD Permissions
Just like this issue we'll need Graph permissions: Chat.BasicRead, Chat.Read or Chat.ReadWrite. Currently the AAD App which is being used by CLI for Microsoft 365 (PnP Management Shell) does not have the permission setup. Once the PR is completed, the permission may have to applied to the AAD App.
Usage
m365 teams chat list [options]
Description
List the chat conversations (1 on 1 chat OR Group chat OR Meeting Chats etc) in Microsoft Teams
Options
-t,--type [chatType]oneOnOne,groupormeeting)Additional Info
We will have to use the Graph API end point - v1.0/chats/ as per this documentation.
New Azure AD Permissions
Just like this issue we'll need Graph permissions:
Chat.BasicRead,Chat.ReadorChat.ReadWrite. Currently the AAD App which is being used by CLI for Microsoft 365 (PnP Management Shell) does not have the permission setup. Once the PR is completed, the permission may have to applied to the AAD App.