Install & Configure Azure CLI

Kanan Rahimov
Jul 28 · 2 min read
brew update && brew install azure-cli
az login
[
{
"cloudName": "AzureCloud",
"id": "subscripion1-id",
"isDefault": true,
"name": "Pay-As-You-Go",
"state": "Enabled",
"tenantId": "tenant-id",
"user": {
"name": "your-account-id-or-email",
"type": "user"
}
},
{
"cloudName": "AzureCloud",
"id": "subscription2-id",
"isDefault": false,
"name": "Pay-As-You-Go",
"state": "Enabled",
"tenantId": "tenant-id",
"user": {
"name": "your-account-id-or-email",
"type": "user"
}
}
]
az account set --subscription <enter-your-subscription-id>
az resource list# oraz resource list --output table
az account show -s <enter-subscription-id-or-name>
Kanan Rahimov

Written by

Software Engineer. Author @CoderVlogger. Check https://kenanbek.github.io/ for more posts and updates.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade