domain removal

TA.Saurabh.Singh 41 Reputation points
2023-07-03T08:36:28.78+00:00

Removal of Domain from Office 365 tenant

Will removing a domain delete any data (emails/teams/onedrive).

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,590 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,678 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
567 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Schneider, Tobias 1,155 Reputation points
    2023-07-03T13:35:16.31+00:00

    Hello,

    removing a domain does not delete any data (emails/Teams/OneDrive). When you remove a domain, user accounts are reset to ".onmicrosoft.com" address as primary SMTP/UserprincipalName.

    It can take as little as five minutes for Microsoft 365 to remove a domain if it is not referenced in many places such as security groups, distribution lists, users, aliases, shared mailboxes, resource mailboxes and Microsoft 365 groups. If there are many references using the domain, it may take several hours (per day) for the domain to be removed.

    If you have hundreds or thousands of users, use PowerShell to query all users and then move them to another domain. Otherwise, a handful of users may be missing from the user interface. Then when you remove the domain, you can't, and you don't know why. For more information, see Set-MsolUserPrincipalName. If you want to set the default domain, use Set-MsolDomain.

    You can get more information on how to do this from the following post: Remove a domain

    If you want to cancel your Microsoft subscription and delete all data completely, please follow the steps in the following article: Cancel a Microsoft 365 subscription


    If this is helpful, please accept the answer. Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.