I have a directory named xyz and i want to rename everything as abc due to company name change what should i do to change everything like users email, domain and resources name

Hardik Parikh 0 Reputation points
2025-05-20T05:12:17.2133333+00:00

I have a directory named xyz and i want to rename everything as abc due to company name change what should i do to change everything like users email, domain and resources name

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

2 answers

Sort by: Most helpful
  1. Akpesiri Ogbebor 2,525 Reputation points
    2025-05-20T08:38:21.6866667+00:00

    Hello@hardik parikh ,

    Thanks for contacting MS Q&A. I will assist you with resolving your issues.You cannot rename a Microsoft Entra ID (Azure AD) directory name once created.

    Term Rename Possible? Notes
    Directory (Tenant) Name ❌ No This is the name in the Entra portal, like XYZ Company (xyz.onmicrosoft.com). It cannot be renamed.
    Directory (Tenant) Name ❌ No This is the name you see in the Entra portal, like XYZ Company (xyz.onmicrosoft.com). It cannot be renamed.
    Initial Domain (xyz.onmicrosoft.com) ❌ No This system-generated Domain is permanent and cannot be changed.
    Custom Domain (e.g., xyz.com) ✅ Yes (by adding a new one) You can add a new domain like abc.com and set it as primary.
    Company Branding ✅ Yes You can update logos, sign-in messages, and display names.
    Usernames / Emails / UPNs ✅ Yes Can be changed to use the new Domain, e.g., ******@abc.com.

    What You Can Do Instead

    1. Add new custom domain: abc.com
    2. Update user UPNs and emails to use the new domain
    3. Change the display name of the tenant (not the directory name, but branding):
      • Go to Microsoft Entra admin center
      • Navigate to Identity → Overview
      • Click Properties
      • Change the Name field to ABC Company (This is only cosmetic and appears in the portal)

    Alternative (Only for Major Overhaul)

    If renaming is business-critical and branding is very important, the only option is to:

    • Create a new tenant with the desired name
    • Migrate users, groups, apps, and data (complex, time-consuming, and disruptive)

    I hope this helps.

    0 comments No comments

  2. Akhilesh Vallamkonda 15,320 Reputation points Microsoft External Staff Moderator
    2025-05-21T01:14:01.6266667+00:00

    Hi @Hardik Parikh

    I understand that you are trying to rename the directory with the new company name.

    By default, when you create a new Microsoft Entra ID (formerly Azure Active Directory) tenant, it automatically creates a default domain in the format <tenant-name>.onmicrosoft.com. This domain is used as the initial domain for the directory.

    This domain cannot be removed, but you can add custom domains (like contoso.com) and set one of them as the primary domain.

    Users and groups created before adding a custom domain will typically have usernames like ******@contoso.onmicrosoft.com.

    By adding your domain name, you can add usernames that are familiar to your users, such as ******@contoso.com.

    Please read the relevant document how to Add your custom domain name to your tenant

    If you are adding new domain name to the existing tenant Set the primary domain name for your Microsoft Entra organization

    If you have configured with the company branding you can change or update by Configure your company branding

    Hope this helps. If you still do not see enough information to isolate the issue, please let me know in the comment section.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.