I'm unable to sign into portal.azure.com

Andrew Piskai 6 Reputation points Microsoft Employee
2025-04-25T13:54:36.7266667+00:00

I was attempting to remove my personal Microsoft account from being a guest user in a few other Azure tenants, and seem to have accidentally locked myself out of both portal.azure.com and entra.microsoft.com. It does seem that I can still access account.microsoft.com.

Error code: AADSTS5000224

Error message: AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,526 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Harshitha Eligeti 3,725 Reputation points Microsoft External Staff Moderator
    2025-04-28T13:09:12.5433333+00:00

    Hello @Andrew Piskai
    I'm glad that you were able to resolve your issue and thank you for confirming the solution over teams.
    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer. 

    Issue: I'm unable to sign into portal.azure.com [Error code: AADSTS5000224].

    Solution: Azure was defaulting to one of the directories that you were deleted, so you had to manually tell it to go to a different one by giving a hint at the end of the URL....

    portal.azure.com kept going to a deleted tenant

    portal.azure.com/alternatetenant.onmicrosoft.com allowed you to go to one of the other ones so you could get back to the directory screen. So that the issue got resolved.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue. 

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.