`az extension add` : Ability to fail installation (or upgrade) if latest version cannot be installed
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
`az extension add`
**Is your feature request related to a problem? Please describe.**
`az extension add --upgrade` installs or upgrades an extension. It does a compatibility check with the current version of `azure-cli` and installs an older version if `az` is old and if the latest extension version is not compatible with old `az` version.
**Describe the solution you'd like**
I'd like to have an option or flag to always install the latest version of extension. If the install or upgrade is not possible due to compatibility-issues, we should **fail the operation** instead of installing an older version.
**Describe alternatives you've considered**
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.