Search⌘ K
AI Features

Login Setup

Understand how to set up secure and persistent login access to your Azure account using PowerShell and CLI. Learn to authenticate with device login, save your login context in a JSON file, and streamline repeated Azure command executions throughout your event-driven architecture project.

Why this is needed

In the terminals, we will be using the Azure PowerShell/CLI to run our commands. It requires us to log in with our credentials to access our account. Unlike most CLI login methods, Azure security measures require us to log in interactively each time, and your terminal will be logged out after a given period of inactivity.

To allow you to create the project in your own Azure account, we will log in once and save our authentication context in a .json file. In case you get ...