-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
When running az login -u $user -p $pass --tenant $tenant --allow-no-subscriptions we 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