Remove Domain From Office 365. In the script just enter your new and old domain name. How do I migrate the domain between Office 365 Tenants.
To see if any user is using the domain name type following cmdlet in Windows Azure Active Directory Module for Windows PowerShell. Finally use the following PowerShell script to remove the old Office 365 domain Input Parameters required. Remove a domain from Office 365 Regarding not interrupting the mail service I would suggest you first make sure that you have verified the new domain which you want to change to and then add the additional email aliases with the new domain name to users in Office 365 and then set it to the primary email address.
You must first delete the subdomains before you can remove this domain.
In the right pane select Remove. I need to delete a custom domain from Office 365. How to delete a domain from Office 365. In order to remove a domain in Office 365 logged as administrator in the Office 365 Admin Center click on Setup and then Domains.