-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Complete failure of az login from Ubuntu 24 #32809
Copy link
Copy link
Closed
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 teamLoginPossible-SolutionSimilar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe 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
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 teamLoginPossible-SolutionSimilar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe 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
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
I need to speak with your leadership. This issue is 100% blocking, and has been for 4 weeks, and it is unacceptable that neither Helpdesk nor the internal Azure case isn't being solved.
When issuing an 'az login', and successfully going through the loging process in Edge on Windows, with a valid device code extension, I get the following error in Ubuntu:
AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance. Trace ID: 2f8ccb7a-459e-44fb-b615-232475945800 Correlation ID: 824fc737-3721-428a-adb8-e51aec8c4cce Timestamp: 2026-02-17 18:39:09Z
Run the command below to authenticate interactively; additional arguments may be added as needed:
az logout
az login
From portal.azure.com:
Sign-in error code
50199
Failure reason
For security reasons, user confirmation is required for this request. Please repeat the request allowing user interaction.
Related command
az login
Errors
AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance. Trace ID: 2f8ccb7a-459e-44fb-b615-232475945800 Correlation ID: 824fc737-3721-428a-adb8-e51aec8c4cce Timestamp: 2026-02-17 18:39:09Z
Issue script & Debug output
None
Expected behavior
az login to succeed
Environment Summary
azure-cli 2.83.0
core 2.83.0
telemetry 1.1.0
Extensions:
azure-devops 1.0.2
Dependencies:
msal 1.35.0b1
azure-mgmt-resource 23.3.0
Python location '/opt/az/bin/python3'
Config directory '/home/zmathe/.azure'
Extensions directory '/home/zmathe/.azure/cliextensions'
Python (Linux) 3.13.11 (main, Jan 27 2026, 07:24:17) [GCC 13.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response