Skip to content

Login error #33742

Description

@JoeKenney

Describe the bug

I'm trying to use EV2 in the fairfax environment. I get the error below when I try to login.

Related command

.\ev2.exe service get -s af276c13-ac25-4bc9-b4c5-79aca07df24a --rolloutinfra fairfax --forceprompt

Errors

Authentication failed
invalid_request: AADSTS65002: Consent between first party application '04b07795-8ddb-461a-bbee-02f9e1bf7b46' and first party resource '5b306cba-9c71-49db-96c3-d17ca2379c4d' must be configured via preauthorization - applications owned and operated by Microsoft must get approval from the API owner before requesting tokens for that API. Trace ID: a62b8e99-eb05-4a6b-80c5-3200f8390a00 Correlation ID: 42afffa9-21b2-4aa7-8bf3-5f090b89efbf Timestamp: 2026-07-16 19:59:42Z. (https://login.microsoftonline.us/error?code=65002)

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

Issue script & Debug output

az login --scope https://azureservicedeploy.usgovcloudapi.net/user_impersonation

Expected behavior

Login

Environment Summary

aa

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-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions