The command currently lists apps from the Microsoft Teams app catalog or apps installed in the specified team with an option to pass teamId in which case the command lists apps installed in the specified Microsoft Teams team.
Extend this to pass teamName as well, passing either teamId or teamName but not both.
If we find multiple items matching the teamName, return an error with the list of matching items and their IDs to disambiguate.
Good idea @rabwill 馃挕
Rather than using displayName, shall we use teamName instead?
I say this as we are using teamName in the spec for https://github.com/pnp/cli-microsoft365/issues/1804 so this keeps the options consistent.
Good suggestion both @rabwill and @garrytrinder. We should use teamName to align with other commands and to make it clear that the name refers to a team rather than the app.
@garrytrinder @waldekmastykarz spec update to teamName. Good catch 鈽猴笍馃憦馃従
Hi @garrytrinder @garrytrinder @waldekmastykarz
Can I take this up?
All yours @nanddeepn thanks for the help 馃憤馃徎
Most helpful comment
@garrytrinder @waldekmastykarz spec update to teamName. Good catch 鈽猴笍馃憦馃従