skip to content
Alvin Lucillo

Logging in via azure cli

/ 1 min read

Install azure CLI (follow instructions here)

az login --use-device-code

You can opt to omit --use-device-code, but that will open a Chrome instance, which may not be conducive for those using WSL. With that arg, you can just log in to your host machine’s browser.

Once you follow the prompt in the browser, your terminal will update.