Skip to content

New command: List the Microsoft Teams chat conversations for the current user #2893

@martinlingstuyl

Description

@martinlingstuyl

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions