Skip to content

az login using WAM fails #25861

@MoMcheimech

Description

@MoMcheimech

Describe the bug

Trying to login using the Web Account Manager fails with the below error message.

Command Name
az login

Errors:

Unexpected exception while waiting for accounts control to finish: (pii). Status: Response_Status.Status_Unexpected, Error code: -1247023584, Tag: 528315211

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
az config set core.allow_broker=true
az account clear
az login

Expected Behavior

A login window should appear allowing the user to enter their credentials.

Environment Summary

Windows-10-10.0.19042-SP0
Python 3.10.10
Installer: MSI

azure-cli 2.46.0

Additional Context

Metadata

Metadata

Assignees

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamBrokerIssues from broker (currently WAM on Windows. More on other platforms are coming.)Configureaz configure/configOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.customer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions