az logout
Log out from an Azure subscription. Part of
azure-cli
. More information: https://docs.microsoft.com/cli/azure/reference-index#az_logout.
- Log out from the active account:
az logout
- Log out a specific username:
az logout --username {{alias@somedomain.com}}