Skip to content

Error message improvement for az group show #22736

@houk-ms

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

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botact-identity-squadfeature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions