Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to az login: interaction_required: AADSTS5000224: We are sorry, this resource is not available. #30632

Open
arpit2408 opened this issue Jan 9, 2025 · 5 comments
Assignees
Labels
Account az login/account Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team Possible-Solution question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Similar-Issue
Milestone

Comments

@arpit2408
Copy link
Member

Describe the bug

Seeing the below error when i try to az login through my command prompt

Authentication failed
interaction_required: AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support. Trace ID: 50f2eece-db23-4d15-8ea7-9a6d5c592500 Correlation ID: 476ed242-8beb-410e-8224-b7354baf1e9f Timestamp: 2025-01-08 19:00:10Z. ($error_uri)

You can log an issue at [Azure CLI GitHub Repository](https://github.com/azure/azure-cli/issues) and we will assist you in resolving it.```

I was able to access it previously properly.

### Related command

az login

### Errors

 Trace ID: 50f2eece-db23-4d15-8ea7-9a6d5c592500 Correlation ID: 476ed242-8beb-410e-8224-b7354baf1e9f Timestamp: 2025-01-08 19:00:10Z

### Issue script & Debug output

Authentication failed
interaction_required: AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support. Trace ID: 50f2eece-db23-4d15-8ea7-9a6d5c592500 Correlation ID: 476ed242-8beb-410e-8224-b7354baf1e9f Timestamp: 2025-01-08 19:00:10Z. ($error_uri)

### Expected behavior

Able to auth and select appropriate subscription.

### Environment Summary

{
  "azure-cli": "2.40.0",
  "azure-cli-core": "2.40.0",
  "azure-cli-telemetry": "1.0.8",
  "extensions": {}
}

### Additional context

Always ready to hop on call if necessary to resolve the issue.
@arpit2408 arpit2408 added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jan 9, 2025
Copy link

Hi @arpit2408,

2.40.0 is not the latest Azure CLI(2.67.0).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

@azure-client-tools-bot-prd azure-client-tools-bot-prd bot added the Auto-Resolve Auto resolve by bot label Jan 9, 2025
@yonzhan
Copy link
Collaborator

yonzhan commented Jan 9, 2025

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Account az login/account labels Jan 9, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

Here are some similar issues that might help you. Please check if they can solve your problem.


Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)

Could you try running az login with --tenant {tenant_id} and see if it still fails?

Reference:

@arpit2408
Copy link
Member Author

Upgraded to the latest version and seeing below error

Here is the info :

Request Id: 477e6b89-554c-4c3f-aa23-b3eef6732000
Correlation Id: da2770e7-37ab-4e3e-a162-1e38d857b897
Timestamp: 2025-01-09T16:47:00Z
Message: AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support.

Image

@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jan 10, 2025
@yonzhan yonzhan added this to the Backlog milestone Jan 10, 2025
@jiasli jiasli changed the title Not able to az login Not able to az login: interaction_required: AADSTS5000224: We are sorry, this resource is not available. Jan 10, 2025
@jiasli
Copy link
Member

jiasli commented Jan 10, 2025

@arpit2408, are you logging into Dogfood? #29082 is a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Account az login/account Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team Possible-Solution question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Similar-Issue
Projects
None yet
Development

No branches or pull requests

3 participants