Skip to content

Error message improvement for az group show #22736

Description

@houk-ms

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

az group show

Describe the bug

when the RG is not in current subscription, the error message is
Message: Resource group 'foo' could not be found.

Can we add the subscription info in the message, e.g,
Message: Resource group 'foo' could not be found in subscription <xxx>.

To Reproduce

Expected behavior

Environment summary

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions