Skip to content

Authentication failed with az login #34169

Description

@yanancai

Describe the bug

Authentication failed
invalid_client: AADSTS50012: Authentication failed. Trace ID: 3ddd87b8-ac90-4a2d-847b-ef56db543b00 Correlation ID: baf678a2-4691-43b2-8aae-fdb77382ef1f Timestamp: 2026-10-05 20:03:00Z. (https://login.microsoftonline.com/error?code=50012)

You can log an issue at Azure CLI GitHub Repository and we will assist you in resolving it.

Related command

az login then choose githubazure.com account

Errors

Authentication failed
invalid_client: AADSTS50012: Authentication failed. Trace ID: 3ddd87b8-ac90-4a2d-847b-ef56db543b00 Correlation ID: baf678a2-4691-43b2-8aae-fdb77382ef1f Timestamp: 2026-10-05 20:03:00Z. (https://login.microsoftonline.com/error?code=50012)

Issue script & Debug output

Authentication failed
invalid_client: AADSTS50012: Authentication failed. Trace ID: 3ddd87b8-ac90-4a2d-847b-ef56db543b00 Correlation ID: baf678a2-4691-43b2-8aae-fdb77382ef1f Timestamp: 2026-10-05 20:03:00Z. (https://login.microsoftonline.com/error?code=50012)

Expected behavior

it worked last week

Environment Summary

az --version
azure-cli 2.87.0 *

core 2.87.0 *
telemetry 1.1.0

Extensions:
account 0.2.5
kusto 0.5.0
resource-graph 2.1.1

Dependencies:
msal 1.36.0
azure-mgmt-resource 24.0.0

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamact-identity-squadagent-assist-needs-infoWaiting for information requested by agent-assistbugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions