Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 863 Bytes

File metadata and controls

27 lines (19 loc) · 863 Bytes
ms.topic include
ms.custom devx-track-azurecli
  1. Run the az login command.

    az login
    

    If Azure CLI can open your default browser, it initiates authorization code flow and opens the default browser to load an Azure sign-in page.

    Otherwise, it initiates the device code flow and instructs you to open a browser page at https://aka.ms/devicelogin. Then, enter the code displayed in your terminal.

    If no web browser is available or the web browser fails to open, you can force device code flow with az login --use-device-code.

  2. Sign in with your account credentials in the browser.