How to Remove a Microsoft 365 Email Alias Without an Exchange License
Question details
The user needs to remove email aliases to successfully transfer a domain from a Microsoft 365 tenant that no longer has active Exchange Online licenses.

- Product
- Microsoft 365 / Exchange Online
- Device & OS
- not provided
- Scenario
- Managing tenant email domains and removing alias configurations for a domain transfer.
- Observed behavior
- Standard mailbox PowerShell cmdlets fail to locate or modify user accounts because the absence of an Exchange Online license deactivates the mailbox objects.
Ensure you are signed in with Global Administrator or Exchange Administrator privileges in your Microsoft 365 tenant before attempting to modify user attributes or domain configurations.
Remove Aliases Using Microsoft Entra ID or Microsoft Graph
Modify the 'proxyAddresses' attribute directly on the user object in Entra ID to bypass the need for Exchange PowerShell cmdlets.
When an Exchange Online license is removed, the mailbox is deprovisioned, but the user object and its attributes remain in Microsoft Entra ID. By directly editing the proxyAddresses attribute, you can delete the aliases preventing your domain transfer.
Sign in to the Microsoft Entra admin center and navigate to 'Users' > 'All users' from the left-hand menu.
Search for the user whose alias needs to be removed and click on their display name to open their profile settings.
Go to the 'Properties' tab, locate the 'proxyAddresses' field, and click 'Edit'. Remove the specific email alias tied to the domain you wish to transfer, then save your changes.

Temporarily Restore an Exchange Online License
Re-assigning a valid license temporarily reactivates the mailbox, allowing standard PowerShell management commands to function.
Clear Domain References from Other Tenant Objects
Ensure all references to the domain are removed across groups, contacts, and applications before attempting a domain removal.
Looking for a Hassle-Free Office Suite? Try WPS Office
Dealing with complex Microsoft 365 tenant configurations, licensing issues, and domain transfers can be overwhelming. If you need a lightweight, cost-effective productivity solution without the burden of expensive subscriptions, WPS Office is the perfect alternative. It offers powerful word processing, spreadsheet, and presentation tools that seamlessly integrate with your existing workflows.
- 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the suite on your computer.
- 3. Enjoy seamless compatibility: Open WPS Office and instantly start creating, editing, and saving your documents in standard Microsoft formats without any subscription fees.

Frequently Asked Questions
Why do mailbox PowerShell commands fail without an Exchange license?
When a Microsoft 365 user lacks an active Exchange Online license, their mailbox is deprovisioned. As a result, standard Exchange PowerShell cmdlets cannot locate or modify the user's mailbox properties, including email aliases.
What is the proxyAddresses attribute in Microsoft Entra ID?
The proxyAddresses attribute stores all the email addresses and aliases associated with a user object. Modifying this attribute in Entra ID or via Microsoft Graph allows administrators to manage aliases without needing an active Exchange license.
Can I transfer a domain if it is still attached to an unlicensed user?
No. Microsoft 365 prevents domain removal if any tenant objects, including unlicensed users, deleted users, groups, or contacts, still use the domain in their email addresses or aliases. All references must be completely removed first.




