-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Login Authentication Failure on 2.63.0: Error code: -2147221164 #29666
Copy link
Copy link
Open
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamBrokerIssues from broker (currently WAM on Windows. More on other platforms are coming.)Issues from broker (currently WAM on Windows. More on other platforms are coming.)act-identity-squadquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamBrokerIssues from broker (currently WAM on Windows. More on other platforms are coming.)Issues from broker (currently WAM on Windows. More on other platforms are coming.)act-identity-squadquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When running
az login -u $user -p $pass --tenant $tenant --allow-no-subscriptionswe hit this error:WARNING: Authentication with username and *** in the command line is strongly discouraged. Use one of the recommended authentication methods based on your requirements. For more details, see https://go.microsoft.com/fwlink/?linkid=2276314
ERROR: (pii). Status: Response_Status.Status_Unexpected, Error code: -2147221164, Tag: 557973639
Please explicitly log in with:
This is happening on CLI version 2.63.0 and not on 2.62.0
Related command
az login
Errors
WARNING: Authentication with username and *** in the command line is strongly discouraged. Use one of the recommended authentication methods based on your requirements. For more details, see https://go.microsoft.com/fwlink/?linkid=2276314
ERROR: (pii). Status: Response_Status.Status_Unexpected, Error code: -2147221164, Tag: 557973639
Please explicitly log in with:
Issue script & Debug output
N/A
Expected behavior
Should be able to login as normal
Environment Summary
{
"azure-cli": "2.63.0",
"azure-cli-core": "2.63.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
}
Additional context
No response