Rapid-fire: core identity and context commands.
BeginnerConceptPolicy, Cost, AWS Mapping and Rapid-fire
Answer
az login --use-device-code
az account list -o table
az account set --subscription "<name-or-id>"
az account show --query "{name:name, id:id, user:user.name}" -o table
az ad signed-in-user show --query id -o tsv # your object id
az account get-access-token --resource https://management.azure.com --query expiresOn
az role assignment list --assignee <objectId> --all -o table
az identity create -g rg -n id-shop-web
az identity show -g rg -n id-shop-web --query "{clientId:clientId, principalId:principalId}"
More on Policy, Cost, AWS Mapping and Rapid-fire
What is Azure Policy and what effects can a policy have?BeginnerAzure Policy vs RBAC: what is the difference?BeginnerShow an Azure Policy definition that denies public IPs on NICs.AdvancedHow do remediation tasks and policy exemptions work?AdvancedWhat is Microsoft Defender for Cloud?IntermediateWhat tools does Azure offer for cost management?Beginner