az configure doesn't check the validity of the arguments/values before configuring
- 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
**Describe the bug**
CLI tells me rg isn't avail after I'd already explicitly configured it

**To Reproduce**
1) used az configure to set global rg

2) created appservice plan but ended up failing because rg isn't actually avail

**Expected behavior**
If the rg to be set at az configure isn't actually a valid rg, the tool should not plainly accept the value. It should first check the validity of the resource and return an error if it's not a valid rg. Else it would give a false impression that the configure has been successful and that the defaulted values are readily avail for use -- which is not in this case
**Environment summary**
CLI 2.10.1 on windows
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.