Jiashuo Li

Results 386 comments of Jiashuo Li

Azure PowerShell faces the same issue: - https://github.com/Azure/azure-powershell/issues/14395

`https://aka.ms/InstallAzureCLIDeb` installs Azure CLI DEB package at `/opt/az`, but your Azure CLI was installed with `pip` judging by the installation location: ``` /usr/local/lib/python3.8/site-packages/azure/cli ``` We recommend installing the Azure CLI...

### https://packages.microsoft.com/ is the ONLY source where official Azure CLI packages are distributed. ## Install official Azure CLI To install the latest official Azure CLI, please follow the official document:...

## Azure CLI on Debian sid @bluca, I noticed that recently you have published **azure-cli (2.33.0-2)** for Debian sid: https://packages.debian.org/sid/azure-cli ![image](https://user-images.githubusercontent.com/4003950/153806148-a8eeebf2-2542-470a-8003-3cac717739c0.png) This makes it impossible to install official Azure CLI...

## [Outdated] How to tell if the installed Azure CLI is official An unofficial Azure CLI will show info like this (from https://github.com/Azure/azure-cli/issues/21254): ``` Linux-5.15.0-3-amd64-x86_64-with-glibc2.33, Debian GNU/Linux bookworm/sid Python 3.9.10...

## How to tell if the installed Azure CLI is unofficial **An unofficial Azure CLI has `dist-packages` in its call stack** (https://github.com/Azure/azure-cli/issues/22546): ``` The command failed with an unexpected error....

The unofficial packages 2.0.81 and 2.18.0 on Ubuntu repo also contain bugs that make keyvault commands fail (https://github.com/Azure/azure-cli/issues/13101): ``` az keyvault secret show ``` Errors: ``` No module named 'azure.keyvault.v7_0'...

## Possible solutions 1. Remove the alias `azure-cli` from https://packages.debian.org/sid/azure-cli, and only use the name `python3-azure-cli` so that it can be distinguished from Microsoft's `azure-cli`. 2. Pull down the package...

vm_default_target_network: @zhoxing-ms nw_connection_monitor: @necusjz container_network: @joseph-porter appservice_network, appservice_ensure_subnet: @panchagnula

Another ad-hoc API version used by `appservice` command module: https://github.com/Azure/azure-cli/blob/daa3b68229589948f7544c4aa12404618df81584/src/azure-cli/azure/cli/command_modules/appservice/custom.py#L3009