Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3k forks source link

Can't run `az` in PowerShell: Program 'az.cmd' failed to run: Access is denied. At line:1 char:1 #25448

Open AnNamGi opened 1 year ago

AnNamGi commented 1 year ago

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

![image](https://user-images.githubusercontent.com/81275109/218613346-1c9419b4-7735-49ab-80bd-df279030a79a.png) **Describe the bug**

Opening the power shell with administrator privileges and running Azlogin does not work as a permission issue.

Environment summary