logo
search
Others

How to Change or Rename a Custom Domain in Microsoft 365

Aamir Naveed AkramAamir Naveed Akram Oct 10, 2026 868 views

Question details

The user needs to rename an existing custom domain in the Microsoft 365 Admin Center to match their organization's naming standard.

How to Change or Rename a Microsoft 365 Custom Domain
Product
Microsoft 365 Admin Center
Device & OS
not provided
Scenario
Updating or fixing an incorrectly named custom domain in the organization's tenant settings.
Observed behavior
The rename option is completely unavailable for a custom domain that has already been added to the Microsoft 365 Admin Center.
Before you start

Before making changes to your organization's domains, ensure you have Global Administrator privileges in Microsoft 365 and access to your domain's DNS hosting provider to verify new records.

Solution 1Recommended

Add a New Domain and Migrate Dependencies

Since Microsoft 365 does not allow directly renaming a custom domain once it is added, you must add the correct domain, migrate your users, and then remove the old one.

Microsoft 365 architecture relies heavily on domain identities. Once a custom domain is verified and integrated, the system locks it to prevent breaking user aliases, mailboxes, and SharePoint URLs. Direct renaming is completely unsupported by Microsoft.

1
Add the correctly named domain

Log into the Microsoft 365 Admin Center. Navigate to Settings > Domains, click 'Add domain', and enter the correct custom domain name.

2
Verify the new domain

Follow the on-screen prompts to add the required TXT or MX records at your DNS hosting provider to verify your ownership of the new domain.

3
Update users and services

Change the primary email addresses, User Principal Names (UPN), and aliases for all affected users to the newly added domain. Make sure to update any dependent applications and Microsoft 365 groups as well.

4
Remove the old domain

Once you confirm that no active users, aliases, or services depend on the incorrectly named domain, select it in the Domains list and click 'Remove'.

Add a New Domain and Migrate Dependencies
Dependency Conflicts: You cannot remove a domain if it is still tied to a user, group, or application alias. Microsoft 365 will display a list of conflicting dependencies if you attempt to remove it prematurely.
Free Microsoft Office alternative

Boost Your Team's Productivity with WPS Office

While you manage your organization's IT infrastructure and domains, consider equipping your team with a lightweight, cost-effective productivity suite. WPS Office provides powerful word processing, spreadsheet, and presentation tools that are highly compatible with Microsoft Office formats.

  1. 1. Download and Install: Visit the official WPS Office website and download the suite for your preferred operating system.
  2. 2. Open Existing Files: Double-click any Microsoft Office document to instantly open and edit it in WPS Office without losing formatting or layouts.
  3. 3. Save and Collaborate: Save your work in standard Office formats to collaborate seamlessly with external partners, clients, and internal team members.
Highly compatible with Microsoft Office file formats (.docx, .xlsx, .pptx).Free, lightweight, and requires significantly fewer system resources.Familiar user interface for seamless team migration and minimal training.Built-in PDF editing tools for comprehensive document management.
microsoft office alternative - wps office

Frequently Asked Questions

Can I change my default .onmicrosoft.com domain?

You can add a custom domain and set it as the default for new users, but you cannot completely remove or rename the initial .onmicrosoft.com fallback domain created when you set up your Microsoft 365 tenant.

What happens if I try to remove a custom domain without updating users?

Microsoft 365 prevents you from removing a domain if active users or groups are still using it. You must update all UPNs and email aliases to another verified domain before the removal option will work.

How long does it take for Microsoft 365 domain changes to propagate?

DNS record verification can take anywhere from a few minutes to 48 hours depending on your DNS host's TTL (Time to Live) settings. However, user alias updates within Microsoft 365 generally reflect within a few minutes.