Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Switch default domain in Office365

Posted on 2016-10-26
Medium Priority
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
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
LVL 43

Accepted Solution

Vasil Michev (MVP) earned 2000 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 16

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

730 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