Jiashuo Li
Jiashuo Li
Possibly related. I noticed Azure PowerShell doesn't get all subscriptions in the second tenant `72f988bf-86f1-41af-91ab-2d7cd011db47` which I pass to `Connect-AzAccount`. Tenant `72f988bf-86f1-41af-91ab-2d7cd011db47` contains several subscriptions, but only one is populated...
This is great analysis and extremely helpful! I saw (from https://bugs.python.org/issue45235) that the maintainer @rhettinger and @ambv have decided to roll back this change .
@evelyn-ys is correct. This is caused by PowerShell issue https://github.com/PowerShell/PowerShell/issues/1995 that **PowerShell doesn't quote arguments correctly when calling a cmd script**. ⚠️ **This issue happens when using PowerShell to call...
Thanks @brendandburns for the insights. Please allow me to provide more details. ### `az` on Windows: Command Prompt vs PowerShell Consider the entry script `az.cmd` is invoked by Command Prompt...
I think the fundamental difference between Windows and Linux is **whether quotes are preserved when calling a script from shell**. In a nutshell, - On Windows - When invoking a...
To better demonstrate the behavior difference between Command Prompt and PowerShell, consider a very simply script `test.cmd`: ```cmd @echo %* ``` When invoked from Command Prompt: ``` D:\>test "arg1" arg2...
This is because this line is not updated in Azure CLI 2.39.0: https://github.com/Azure/azure-cli/blob/815fd96ccd3aa181c13ab2999fbe4b40e6b6fe7e/src/azure-cli-telemetry/azure/cli/telemetry/__init__.py#L13 It was changed by #23530 to https://github.com/Azure/azure-cli/blob/5c12e9946f9e449763ccc9a12023298d4ba9c94e/src/azure-cli-telemetry/azure/cli/telemetry/__init__.py#L13 Next version 2.40.0 will have it fixed.
As your screenshot shows, even directly using `requests` raises the error, so this is not related to Azure CLI. I think the best thing to do is check why your...
As the error message indicates, Azure CLI has no preauthorization with resource app `https://communication.azure.com/`. You may contact the owner of this resource app to pre-authorize Azure CLI in (Microsoft internal)...
https://github.com/Azure/azure-cli/blob/c935aa431e4871979f1be2e5dd5cf2902eaca319/src/azure-cli/azure/cli/command_modules/role/custom.py#L1143 `cert` is `False` by default, so `list_password_credentials` is called. To get certificates listed, append `--cert`, so that CLI calls `list_key_credentials`. ``` az ad app credential list --id xxxx --cert...