When running any azure commands e.g. az login I’m running into this error message Auto upgrade failed. 'pypi'
az login
Auto upgrade failed. 'pypi'
2
From this conversation on a GitHub issue it seems that auto-upgrade isn't actively maintained.
To resolve the error find the .azure/config file [On mac the path could be ~/.azure/config]
.azure/config
~/.azure/config
[auto-upgrade] enable = no
If using Azure CLI from Windows:
The config is in C:Usersusername.azure
C:Usersusername.azure
https://learn.microsoft.com/en-us/cli/azure/azure-cli-configuration
Click here to cancel reply.
2
Answers
From this conversation on a GitHub issue it seems that auto-upgrade isn't actively maintained.
To resolve the error find the
.azure/config
file [On mac the path could be~/.azure/config
]If using Azure CLI from Windows:
The config is in
C:Usersusername.azure
https://learn.microsoft.com/en-us/cli/azure/azure-cli-configuration