Access CLI 2 from Azure Portal

Access the Azure CLI 2 from the portal

John Savill

May 20, 2017

1 Min Read
Access CLI 2 from Azure Portal

Q. How do I access the Azure CLI 2 from the Azure Portal?

A. The Azure Portal now provides simple access to the Azure CLI 2 by clicking the CLI icon on the toolbar. The great feature of this is that its evergreen meaning it will always be the latest version.

The first time this is selected you will be prompted to create a storage area (using Azure Files) which will be used to provide a persistent $Home area. Select a subscription and select Create storage.

You will have a CLI 2 environment already authenticated with your portal user to now perform various CLI actions such as listing VMs (az vm list), viewing storage accounts (az storage account list) and using its interactive mode (az interactive) which provides a richer environment that features dynamic help and intellisense.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like