How to Change or Rename a Custom Domain in Microsoft 365
Question details
The user needs to rename an existing custom domain in the Microsoft 365 Admin Center to match their organization's naming standard.

- 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 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.
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.
Log into the Microsoft 365 Admin Center. Navigate to Settings > Domains, click 'Add domain', and enter the correct custom domain name.
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.
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.
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'.

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. Download and Install: Visit the official WPS Office website and download the suite for your preferred operating system.
- 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. Save and Collaborate: Save your work in standard Office formats to collaborate seamlessly with external partners, clients, and internal team members.

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.




