SYNOPSIS
Switches Azure CLI authentication between browser and WAM modes.SYNTAX
Toggle (Default)
Specify
GetCurrent
DESCRIPTION
Toggles the Windows broker (WAM) setting when usingaz login.
If no mode is specified, it toggles between modes.
If a mode is specified, it switches to that mode.
Beginning with Azure CLI version 2.61.0, Web Account Manager (WAM) is the default authentication method on Windows.
WAM is a Windows 10+ component that acts as an authentication broker.
An authentication broker is an application that runs on a user’s machine.
It manages the authentication handshakes and token maintenance for connected accounts.
Using WAM has several benefits:
- Enhanced security. See Conditional Access: Token protection (preview).
- Support for Windows Hello, conditional access policies, and FIDO keys.
- Streamlined single sign-on.
- Bug fixes and enhancements shipped with Windows.