Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
waldekmastykarz opened this issue Nov 20, 2024 · 0 comments · May be fixed by #6499
Open

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

waldekmastykarz opened this issue Nov 20, 2024 · 0 comments · May be fixed by #6499

Comments

@waldekmastykarz
Copy link
Member

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

@waldekmastykarz waldekmastykarz self-assigned this Nov 20, 2024
waldekmastykarz added a commit to waldekmastykarz/cli-microsoft365 that referenced this issue Nov 20, 2024
@waldekmastykarz waldekmastykarz linked a pull request Nov 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant