Skip to content

New command: List the chat conversations from a Microsoft Teams chat #2860

@arjunumenon

Description

@arjunumenon

Usage

m365 teams chat message list [options]

Description

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions