Skip to content

azmgmt logout

Log out from the Azure Management Service

Usage

azmgmt logout [options]

Alias

azmgmt disconnect

Options

Option Description
--help output usage information
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Remarks

Attention

The 'azmgmt disconnect' command is deprecated. Please use 'azmgmt logout' instead.

Attention

This command is based on an API that is currently in preview and is subject to change once the API reached general availability.

The azmgmt logout command logs out from the Azure Management Service and removes any access and refresh tokens from memory.

Examples

Log out from the Azure Management Service

azmgmt logout

Log out from the Azure Management Service in debug mode including detailed debug information in the console output

azmgmt logout --debug