You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List the conversations from a particular chat (1 on 1 chat OR Group chat OR Meeting Chats etc) in Microsoft Teams
Options
Option
Description
-i, --chatId<chatId>
The chat ID / Conversation ID of the Microsoft Teams Chat.
Additional Info
We hay have to use the Graph API end point - v1.0/chats/ConversationID/messages as per this documentation.
New API Permission for PnP Management Shell AAD App
For us to use the API, the AAD App needs to have the permission Chat.Read, 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 will have to applied to the AAD App.