Add a Custom Domain to Microsoft 365 for OneDrive for Business
Question details
The organization wants to use a registrar-purchased custom domain with its Microsoft 365 tenant instead of relying on the default onmicrosoft.com domain.

- Product
- Microsoft 365 and OneDrive for Business
- Device & OS
- not provided
- Scenario
- A tenant administrator needs to add and verify a custom domain and assign it to users and services.
- Observed behavior
- OneDrive for Business was initially configured with the tenant's default onmicrosoft.com domain.
Sign in with a Microsoft 365 tenant administrator account and make sure you can edit DNS records at your domain registrar or DNS host. Decide which Microsoft 365 services will use the custom domain before changing any existing DNS records.
Add and verify the custom domain in Microsoft 365
Use the Microsoft 365 admin center to connect the domain and make it available for user accounts and supported services.
Sign in to admin.microsoft.com, then go to Settings > Domains in the Microsoft 365 admin center.
Select Add domain, enter your custom domain, and follow the verification instructions. If prompted to use a TXT record, add the displayed record at your DNS host, then return to the admin center and select Verify.
Follow the domain setup wizard to add the DNS records required for the Microsoft 365 services you intend to use. Review existing records before changing them, especially mail-related records.
Go to Users > Active users, select a user, and update the username or email settings to use the verified custom domain as needed. Repeat for other users and configure supported services as appropriate.

Work with Office files using WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office files. Its format compatibility makes it easy to move documents between office suites, although it does not change Microsoft 365 domains or OneDrive URLs.

Frequently Asked Questions
Will adding a custom domain remove the onmicrosoft.com domain?
No. The original onmicrosoft.com domain remains associated with the Microsoft 365 tenant after you add and verify a custom domain under Settings > Domains.
Can my OneDrive URL use my custom domain?
Adding a custom domain to Microsoft 365 does not change OneDrive site URLs to that domain. OneDrive normally uses a Microsoft-managed sharepoint.com address.
What do I need to verify my domain?
You need access to your domain's DNS settings. In the Microsoft 365 admin center, go to Settings > Domains > Add domain and follow the verification instructions, which may ask you to add a TXT record.
Will existing users automatically switch to the custom domain?
Do not assume existing usernames or email addresses will change automatically. In the admin center, go to Users > Active users and update each user's account or email settings as needed.




