Configure the Azure CLI

To install and configure the Azure command-line interface, do the following:

  1. Install the Azure CLI.

  2. Confirm the installation by running az version.

  3. Log on to your Azure account with the Azure command-line tool by using az login.

  4. Confirm that you can access Azure by running the following command:

    az account show

    If you are authenticated to Azure, the output includes information about your current Azure tenant.

What's next