Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Switch default domain in Office365

Posted on 2016-10-26
Last Modified: 2016-10-26

following situation:

We have an Office365 tenant testTenant.onmicrosoft.com.
There are some users that have licenses for Office Online and Exchange Online.
Those user names are as follows:


The users habe One Note books and files.

Now we added our custom domain test.de zu the Office 365 tenant and verified it.
We also have a on Premise AD domain "test.de" which is connected to the Office 365 tenant with AAD Connect and Standard-Settings.

What happens now:
- We create a user in on premise Active Directory.
- We set the Attributes "proxyAddresses" and "mailNickname":
   - proxyAddresses: SMTP:user.name@test.de
   - mailNickname: user.name
- Now we sync the AD to Azure AD (AADConnect
   - The user is created in Azure AD as user.name@test.de
- As soon as I add the license for Exchange Online the mailbox gets created.
   - The user then has following e-Mail-Addresses:
     Primary: user.name@test.de
     Additional: user.name@testTEnant.onmicrosoft.com

That`s fine and what I want.
Now I saw, that the configured default Domain ist still "testTenant.onmicrosoft.com".

What exactly does that mean?
We are planning to put the MX record for test.de to Office 365 in the future. Would it be a problem that the default domain is still testTenant.onmicrosoft.com?
What would happen, if I change the default domain to "test.de"?
     - Will the old users (user.name@testTenant.onmicrsofot.com) stay untouched? (user-Login-Name, E-Mail-Addresses, user data)
     - Which E-Mail-Addresses would new users get, when I enable the Exchange Online license? (Only @test.de or also   testTenant@onmicrosoft.com too)

What would you prefer? Switching the default domain?

The goal is to delete all the old testTenant.onmicrosoft.com Accounts after our migration is done.

Man thanks in advance!
Question by:Systemadministration
LVL 40

Accepted Solution

Vasil Michev (MVP) earned 500 total points
ID: 41860213
You can safely change the default domain, old users will not be impacted. New users will get both domains added as aliases.
LVL 15

Expert Comment

by:Todd Nelson
ID: 41860511
Why do you want to remove the *.onmicrosoft.com domain?

Review the "Renaming or removing the onmicrosoft.com domain" section in this article ... https://support.office.com/en-us/article/About-your-initial-onmicrosoft-com-domain-in-Office-365-b9fc3018-8844-43f3-8db1-1b3a8e9cfd5a?ui=en-US&rs=en-US&ad=US

If you can't remove the *.onmicrosoft.com domain there must be a reason behind why each user has a *.onmicrosoft.com email address associated with their account.  Do a bit more research to find out what the ramifications might be if you do remove it.  Contact support and ask them too.

Author Comment

ID: 41860754
I was able to change the default domain without problems.
I only had the re-configure the  AAd Connect tool.


Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read this checklist to learn more about the 15 things you should never include in an email signature.
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question