Help Needed. Locking myself out of Azure portal

Adrian Eu Kai Chwen 20 Reputation points
2024-04-02T07:19:58.95+00:00

So basically I have a personal Microsoft account (for example: user@gmail.com) which I know Azure will automatically create a Default Directory with default domain and global admin work user account (e.g. admin@usergmailcom.onmicrosoft.com).

I was playing around the MS Entra ID. I did 2 things out of curiosity:

a) Trying to convert the global work user admin account to internal - because it initially says I'm external, that spark my curiosity to test out what happen if I change to internal. It ask for a new user principal name, so I made it "testing". Once I click "Okay", it says fail. Not sure why but okay... Nothing happen yet

b) Then I go and create a custom domain (e.g. someuniquedomain.com). Once I create, it says need to register with domain registrar, which I don't have one currently, so I just go back.

And then, suddenly, boom!! I was logged out as it says it can't recognise my authentication token. When I tried to login again using my personal account, it won't work and keep saying like "my account is not part of Default Directory. It has to be added as an external users". Then I tried login using global admin work account, it says account not exist.

I'm so screwed. Help please. I really do not know what I did wrong.

Btw: I'm using MS Entra ID Free license.

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

Accepted answer
  1. Shweta Mathur 29,681 Reputation points Microsoft Employee
    2024-04-02T07:56:58.5633333+00:00

    Hi @Adrian Eu Kai Chwen ,

    Thanks for reaching out.

    Glad you are able to resolve your issue.

    Your understanding is correct. Whenever you sign in Azure portal using Microsoft Personal Account you by default get connected to the Microsoft Services tenant.

    Please refer this https://learn.microsoft.com/en-us/answers/questions/1377925/issue-while-logging-in-to-azure-entra-portal-aadst to understand the issue and its solution.

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! 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.User's image

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Adrian Eu Kai Chwen 20 Reputation points
    2024-04-02T07:43:58.5633333+00:00

    Solved. I just need to sign up for the free tier, putting my credit card number. It activates my account and I regain access to my portal. Weird that it didn't restrict me from using Azure at first place,

    0 comments No comments