Azure CLI Reference for Management Groups & IAM

A quick reference for Azure CLI commands I often use Date Category 2025-12-05 Azure / CLI Table of Contents Getting Started Installation Azure Cloud Shell Authentication Command Reference Subscription Management Resource Management (Resource Groups) Management Groups Entra ID (Formerly Azure AD) Role Assignments (RBAC) Key Vault & Secrets Virtual Machines (VMs) Networking Storage Kubernetes (AKS & Kubectl) App Service (Web Apps) Private Networking & DNS Installation Windows # Option 1: Chocolatey (My Personal Favorite Windows Package Manager) choco install azure-cli # Option 2: Using Winget winget install -e --id Microsoft.AzureCLI # Option 3: No Admin Rights (ZIP Method) # Follow the official guide: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest&pivots=zip macOS # Using Homebrew (Recommended) brew install azure-cli Linux # Ubuntu / Debian curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash Azure Cloud Shell (Browser-Based) If you don’t want to install anything locally, you can use the interactive shell directly in the Azure Portal. ...