Azure / Azure/azure-cli

Error message improvement for `az group show`

Open
#22,736 4 comments 0 reactions 0 assignees View on GitHub
act-observability-squad ARM Auto-Assign feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `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 .`

**To Reproduce**

**Expected behavior**

**Environment summary**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.