Skip to content

Bug report: m365 teams meeting list doesn't work when specifying --userName in an application only context #5968

@MathijsVerbeeck

Description

@MathijsVerbeeck

Priority

(Medium) I'm annoyed but I'll live

Description

When executing the command m365 teams meeting list using an application only context and specifying userName it will not work and return a very string error message 'UnknownError'. When specifying --debug it looks like it fails on the /users/userName/onlineMeetings. This also happens in the Graph Explorer, so it seems like it's a MS issue.

I did not test, but the same way of working is used in m365 teams meeting transcript list.

Steps to reproduce

Login using application context
Execute the command specifying --userName

Expected results

A list of Teams meetings

Actual results

Error message:
image

Diagnostics

No response

CLI for Microsoft 365 version

v7.6.0

nodejs version

20.11.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

The error message when specifying --debug is the following:
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions