Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure CLI takes ages to download which become a huge problem for labs with that requirement #30129

Open
TechWatching opened this issue Oct 18, 2024 · 3 comments
Assignees
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Upgrade az upgrade
Milestone

Comments

@TechWatching
Copy link

TechWatching commented Oct 18, 2024

Describe the bug

Even with an excellent connection, downloading the Azure CLI takes a very long time. It has always taken some time but I don't remember it to be so much time, it became a huge problem. The package is not that big but it takes for ever to be downloaded.

It's a problem because :

  • people get frustrated and give up installing the azure cli
  • for Microsoft Learn labs, internal workshops in companies or hands on a lab at conferences where Azure CLI is a prerequisite, it is nearly impossible to do the lab with such an download time

Related command

az upgrade

Errors

No error, just a very low speed .

Issue script & Debug output

N/A

Expected behavior

I would expect the download speed rate to be

Environment Summary

azure-cli 2.65.0

core 2.65.0
telemetry 1.1.0

Extensions:
init 0.1.0
interactive 0.5.3
next 0.1.2

Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users*******.azure\cliextensions'

Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]

Additional context

I was installing 2.65.0 version

@TechWatching TechWatching added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Oct 18, 2024
Copy link

Hi @TechWatching,

2.64.0 is not the latest Azure CLI(2.65.0).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

@azure-client-tools-bot-prd azure-client-tools-bot-prd bot added the Auto-Resolve Auto resolve by bot label Oct 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Upgrade az upgrade labels Oct 18, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Oct 18, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 18, 2024
@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Oct 18, 2024
@yonzhan yonzhan added this to the Backlog milestone Oct 18, 2024
@bebound
Copy link
Contributor

bebound commented Oct 21, 2024

Same as #19447

As a workaround, download from GitHub is much faster: https://github.com/Azure/azure-cli/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Upgrade az upgrade
Projects
None yet
Development

No branches or pull requests

4 participants