Skip to content

Enhance teams chat list command to list chats for a specific user #3774

@KbWorks

Description

@KbWorks

New specs

Based on the comments, the following specs emerged:

Enhance the teams chat list command to be able to query a list of chats for a specified user. (Using app only permissions)

Option Description
--userId [userId] The Id of the user for which to list chats. Specify either userName or userId but not both.
--userName [userName] The upn of the user for which to list chats. Specify either userName or userId but not both.

Requested Specs for reference

Usage

m365 teams user chat list

Description

Get all chats of a user using apponly credentials

Options

Options would be
-query or-filter
-type oneOnOne, group, meeting
-top

Examples

m365 teams user chat list userprincipalmail of id.

Additional Info

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions