Help Needed. Locking myself out of Azure portal

Adrian Eu Kai Chwen 20 Reputation points

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

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. 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.
19,381 questions
{count} votes

Accepted answer
  1. Shweta Mathur 27,141 Reputation points Microsoft Employee

    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 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

    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