Skip to content

Bug report: m365 app get fails to prompt with multiple apps #6498

@waldekmastykarz

Description

@waldekmastykarz

Priority

(Low) Something is a little off

Description

When you have multiple apps defined in .m365rc.json, the m365 app get command fails to prompt for which app to use.

Steps to reproduce

.m365rc.json:

{
  "apps": [
    {
      "appId": "8a6530f9-f927-479d-8c54-519be823a171",
      "name": "MSGraph connector"
    },
    {
      "appId": "0a78005a-20b1-4702-81a2-14628b6fb610",
      "name": "MSGraph connector"
    },
    {
      "appId": "f286c6fa-d021-4a2b-a975-071063f96c7f",
      "name": "MSGraph connector"
    }
  ]
}
m365 app get

Expected results

Prompt for the app to use, showing the list of apps

Actual results

image

Diagnostics

No response

CLI for Microsoft 365 version

latest from main

nodejs version

v20

Operating system (environment)

macOS

Shell

zsh

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions