-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 teamPossible-SolutionSimilar-IssuequestionThe 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
Description
Symptom
Recently, Microsoft tenant (72f988bf-86f1-41af-91ab-2d7cd011db47) started to forbid device code flow.
To reproduce, run
az login --tenant 72f988bf-86f1-41af-91ab-2d7cd011db47 --use-device-code
Then open https://microsoft.com/devicelogin with a web browser, enter the device code and select the @microsoft.com account in the browser.
The login page shows error:
You don't have access to this
Your sign-in was successful but does not meet the criteria to access this resource. For example, you might be signing in from a browser, app, location, or an authentication flow that is restricted by your admin.
Troubleshooting details:
Error Code: 53003
Request Id: ...
Correlation Id: ...
Timestamp: 2025-11-13T08:20:29.147Z
App name: Microsoft Azure CLI
App id: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
IP address: ...
Device identifier: ...
Device platform: Windows 10
Device state: Compliant
Solution
Use a user account with WAM flow:
az login --tenant 72f988bf-86f1-41af-91ab-2d7cd011db47Additional information
IcM: 707266280, 710799821
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 teamPossible-SolutionSimilar-IssuequestionThe 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