HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

az logout — Log out from an Azure subscription. Part of `azure-cli` (also known as `az`). More information: <htt

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandazurefromclilogoutaz logoutsubscription

Problem

How to use the az logout command: 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>.

Solution

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>.

Log out from the active account:
az logout


Log out a specific user:
az logout --username {{alias@example.com}}

Code Snippets

Log out from the active account

az logout

Log out a specific user

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

Context

tldr-pages: common/az logout

Revisions (0)

No revisions yet.