Usage
m365 teams chat member list [options]
Description
List the members of a chat conversation
Options
| Option |
Description |
-i, --chatId <chatId> |
The chat ID / Conversation ID of the Microsoft Teams Chat. |
Additional Info
We can use the Graph API end point - v1.0/chats/chatId/members as per this documentation.
New Azure AD Permissions
Just like #2893 and #2860 we'll need Graph permissions. In this case: ChatMember.Read, ChatMember.ReadWrite, Chat.ReadBasic, 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.
I would think using a single permission level (Chat.Read) covers all three commands best.
Usage
m365 teams chat member list [options]
Description
List the members of a chat conversation
Options
-i,--chatId <chatId>Additional Info
We can use the Graph API end point - v1.0/chats/chatId/members as per this documentation.
New Azure AD Permissions
Just like #2893 and #2860 we'll need Graph permissions. In this case:
ChatMember.Read,ChatMember.ReadWrite,Chat.ReadBasic,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.I would think using a single permission level (
Chat.Read) covers all three commands best.