Skip to content

Ensure output for list commands #6288

@milanholemans

Description

@milanholemans

Noticed that the command spo app instance list returns no output when there are no apps installed on a site. A list command should always give an output. If nothing is found, an empty list should be returned.
This is just one example of a command that should be updated. I saw the same behavior for:

  • entra oauth2grant list
  • flow environment list
  • pa app list
  • pa connector list
  • pa environment list
  • pp environment list
  • spo app instance list
  • spo app list
  • spo feature list
  • spo list webhook list
  • spo listitem attachment list
  • spo page list
  • spo page template list
  • spo sitescript list
  • spo theme list
  • spo web clientsidewebpart list

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions