Others

Add a Custom Domain to Microsoft 365 for OneDrive for Business

Rana GarciaRana Garcia Nov 13, 2026 868 views

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.

Add a Custom Domain to Microsoft 365 for OneDrive for Business
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.
Before you start

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.

Solution 1Recommended

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.

1
Open domain settings

Sign in to admin.microsoft.com, then go to Settings > Domains in the Microsoft 365 admin center.

2
Add and verify the domain

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.

3
Configure service records

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.

4
Assign the domain to users

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.

Add and verify the custom domain in Microsoft 365
OneDrive URLs are separate: Adding a custom domain does not replace the onmicrosoft.com tenant domain or make OneDrive site URLs use your custom domain. OneDrive URLs normally use a Microsoft-managed sharepoint.com address. A SharePoint tenant rename may change its tenant prefix, subject to Microsoft's requirements and limitations, but it does not convert the URL to your custom domain.
Free Microsoft Office alternative

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.

Open and edit documents, spreadsheets, and presentations in one suite.Compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Move Office files into a familiar, easy-to-use workspace.Use a lightweight office suite with a free option.
microsoft office alternative - wps office

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.