az logout

Log out from an Azure subscription. Part of azure-cli (also known as az). More information: https://learn.microsoft.com/cli/azure/reference-index#az-logout.

az logout

az logout --username {{alias@somedomain.com}}