Primary domain - change the name

JrV 0 Reputation points
2024-04-16T15:24:33.3466667+00:00

Hello,

I have created a Microsoft Azure account.

My question is, can I change the name of the Primary domain (Default Directory)

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Luis Arias 8,621 Reputation points Volunteer Moderator
    2024-04-16T16:45:15.92+00:00

    Hi JrV,

    In general you will need to recreate the tenant , I understood is your tenant of development without any workload there yet. So you can follow below steps to delete and create.

    1. Manage Tenants (Azure portal> Entra ID > Manage Tenants): You can manage your tenants in Azure Entra ID. This includes creating new tenants with your desired domain name.
    2. Delete Default Tenant: If you want to change the name of your default tenant, you would need to delete it. However, please note that deleting a tenant will also delete all resources associated with it. Only a global administrator can delete a tenant, and there are several checks to pass before a tenant can be deleted. Once a tenant is deleted, you can reuse the tenant name, but restoration of the deleted tenant is not possible.
    3. Recreate Tenant with Microsoft Entra ID Free License: After deleting the default tenant, you can create a new tenant and use the Microsoft Entra ID Free license. You can join the free Microsoft 365 Developer Program, which provides a free sandbox, tools, and other resources. Or, you can create a new tenant and activate a free trial of Microsoft Entra ID P1 or P2 in your new tenant.

    References:

    If the information helped address your question, please Accept the answer.

    Luis


  2. Sandeep G-MSFT 20,906 Reputation points Microsoft Employee Moderator
    2024-05-08T08:55:40.29+00:00

    @JrV

    As I understand you are trying to create a tenant and you are getting an error. As per Microsoft new change you cannot create new tenant with trial subscription or pay as you go subscription.

    A recent hotfix now restricts tenant creation by requiring paid P1 or greater licenses. If the Entra ID P2 license is a trial license, that is not enough. Customers attempting to create tenants with trial P1+ licenses will also fail in creating tenants. I hope this helps.

    Refer to this guide - https://learn.microsoft.com/en-us/entra/fundamentals/get-started-premium sign up for a paid P1 license.

    Also review this QnA post for similar requirement - https://learn.microsoft.com/en-us/answers/questions/1435292/unable-to-create-new-entra-id-tenant-with-payg-acc

    Changing name of default domain which ends with .onmicrosoft.com cannot be changed and it is by design.

    When you create the azure subscription, you will get the default domain name in the format of example.onmicrosoft.com which is an initial domain.

    You cannot change or delete the name of your initial .onmicrosoft.com domain created for your tenant. But if you have your own custom domain, you can add your custom domain to your Azure subscription and set it as the default domain.

    Now in your situation to create new tenant you will have to sign-up for Azure with new account and get new tenant created with the name that you are expecting.

    Let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

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.