How do I remove a directory ID listed in my microsoft azure account that is not mine?

nsmith 0 Reputation points

When I log into Microsoft Azure I should only have one directory.............however for some reason there is another directory ID listed in my account that appears to belong to another company.

How can I remove this?

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

2 answers

Sort by: Most helpful
  1. TP 81,981 Reputation points


    In Azure portal, please navigate to Azure Active Directory -- Manage Tenants (link below), click on the tenant you want to remove, and click Leave tenant:

    Note: In some cases you may not be able to leave the tenant. Please see article below for more information:

    If the above was useful please click Accept Answer.



  2. Akshay-MSFT 17,011 Reputation points Microsoft Employee


    In order to delete a directory from your tenant you must be a Global Administrator for your organization.

    User's image

    User's image

    • Once you hit delete it would take you to the targeted tenant for certain permission if needed.

    User's image

    • On the targeted tenant you must have Access management for Azure resources set to Yes

    User's image

    • Once done naviagate back to previous page and hot delete option at the bottom.

    Please do let me know if this does not work by responding in the comments section, we could connect offline to fix it for you.

    Update after offline connect:

    • We found that since you are not owner of the other directory we were not able to remove it.
    • On your tenant we found that you have an external (invited) user as admin in your tenant.

    User's image

    • From your tenant we did switch to the unknown directory.

    User's image

    • Then we Navigate to tenant management on the directory to be left and tried to leave the directory and found that your external (Guest account) is not part of that directory.

    User's image

    • Then we created a Local Admin within you Default tenant and we did not find any other directory associated with it.

    We could conclude that your tenant is not associated with the other directory. However it seems like you might have sign-up with your external account unknowingly to the unknown directory due to which its showed up whenever you are signed in with your external admin account.

    • As you are not the owner of the unknown tenant, you were not able to make any changes within your external user account. Similarly Microsoft support teams also does not have access to make any directory change it without the actual Admin help.

    Action Plan: You must try approaching the unknown directory organization support to have your external account removed from it.


    As your tenant is a test tenant without any subscription or environment , you may follow Delete a tenant to remove the your tenant and create a new one for testing.


    Akshay Kaushik

    Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.