The AZ UPGRADE command fails because of corporate Firewall restrictions
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
`az upgrade`
**Describe the bug**
The upgrade command does not work because of corporate firewall restrictions (No .EXE, .DLL, MSI can be downloaded from the internet). As seen in the evidence below, the **upgrade** command of Azure CLI attempts to download a MSI file.

**To Reproduce**
- Ensure you have **Azure CLI** installed. (I was assited by my corporate IT help desk due to download restrictions)
- You need to have a workstation where firewall has blocked access to files with the extension .msi
- Now execute the command `az ugprade`
**Expected behavior**
- The `upgrade` command should download the latest binaries and update the local installation of **Azure CLI**
- The `upgrade` should be as silent as possible.
- The `upgrade` command should not prompt me for elevated privilges.
**Environment summary**
- Windows 10 desktop
- Corporate workstation
- Firewall rules apply
**Additional context**
- I envision a solution where Microsoft makes the Azure CLI available as a ZIP (See Azure Data Studio and Power Shell Core as examples)
- I should be able to install the ZIP In a folder of my choice and place that folder on PATH environment variable
- When I issue the `az upgrade` command, the copy of the AZ CLI which was downloaded should get upgraded silently
Contributor guide
Assessment
This issue has not been assessed yet.