Skip to content

az login --use-device-code fails with "Sign in to an organisation" #28165

@robinpecha

Description

@robinpecha

Describe the bug

Im trying to log in az login --use-device-code with "Sign in to an organisation" but it ends on 404 error on login page.

Repeated many times in many browsers (including incognito). Its not working from azure vm instance nor from my local pc.

az-login-device-code+sign-in-to-an-organisation-bug-01
az-login-device-code+sign-in-to-an-organisation-bug-02
az-login-device-code+sign-in-to-an-organisation-bug-03
az-login-device-code+sign-in-to-an-organisation-bug-04
az-login-device-code+sign-in-to-an-organisation-bug-05
az-login-device-code+sign-in-to-an-organisation-bug-06
az-login-device-code+sign-in-to-an-organisation-bug-07

Related command

az login --use-device-code

Errors

404 This login.microsoftonline.com page cant be found.

Issue script & Debug output

...

Expected behavior

Grant access from cli.

Environment Summary

azure-cli 2.56.0 latest
installed on azure ubuntu 22.04 vm instance deployed today

Additional context

No response

Metadata

Metadata

Assignees

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamact-identity-squadcustomer-reportedIssues 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 that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions