Log in to your Azure Subscription using az login command. Follow the onscreen instructions
$ az login
To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code <random code> to authenticate.
We'll need to create a resource group for the UniFi Controller which I named Unifi-Controller-RG in the canadacentral region.
$ az group create --name UniFi-Controller-RG --location canadacentral
Location Name