4 Welcome to the Azure CLI! The CLI is a tool designed to get you working quickly
5 and efficiently with Azure services, with an emphasis on automation.
7 The following article introduces features of the CLI and links out to resources
8 that help you be productive.
9 https://docs.microsoft.com/en-us/cli/azure/get-started-with-azure-cli
11 Tutorial to create virtual machines with the Azure CLI
12 https://docs.microsoft.com/en-us/cli/azure/azure-cli-vm-tutorial
13 In this tutorial, you learn all of the steps involved in setting up a virtual
14 machine with the Azure CLI. The tutorial also covers output queries, Azure
15 resource reuse, and resource cleanup.
17 Through terminal there is a simple way to sign in using device code:
19 $ az login --use-device-code
21 Then open a browser page at https://aka.ms/devicelogin and enter the
22 authorization code displayed in your terminal.
28 maximum_version: "2.31.0"
30 When upgrading to Azure CLI v2.31.0, you will need to re-authenticate on Azure
33 $ az login --use-device-code
35 Starting in version 2.30.0, Azure CLI uses MSAL as the underlying
36 authentication library. MSAL uses AAD v2.0 authentication flow to provide more
37 functionality and increases security for token cache.
38 More info: https://docs.microsoft.com/en-us/cli/azure/msal-based-azure-cli