Release an Alias Before Creating an Exchange Online Shared Mailbox
Question details
Determine why an email address is still unavailable and release it for a new shared mailbox.

- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- An administrator wants to use a previously assigned alias as the address of a shared mailbox.
- Observed behavior
- Exchange Online reports that the address is already in use when the shared mailbox is created. Messages to the address bounce, and the alias can be assigned to another mailbox.
Identify the full address you want to use, the mailbox that previously held it, and any related onmicrosoft.com routing address. Sign in with an account that has permission to manage Exchange recipients and connect to Exchange Online PowerShell.
Find and remove the conflicting Exchange Online address
Use Exchange Online PowerShell to identify the recipient holding the address and remove it if it is a secondary alias.
Open PowerShell and run Connect-ExchangeOnline, then sign in with an account that can manage recipients.
Run Get-Recipient -ResultSize Unlimited | Where-Object { $_.EmailAddresses -contains 'smtp:info@example.com' } | Format-List Name,RecipientType,EmailAddresses. Replace info@example.com with the full address you need. Repeat the search with the full routing address if you suspect a conflict there.
If the result is a mailbox and the address is a secondary alias, run Set-Mailbox -Identity 'frontdesk' -EmailAddresses @{remove='info@example.com'}, replacing both values with the correct mailbox and address. Do not use this command to remove the primary SMTP address.
Run the Get-Recipient search again to check that no recipient returns the address, then retry creating the shared mailbox in the Exchange admin center under Recipients > Mailboxes.

Create the shared mailbox with a temporary address
Use a different address to create the mailbox now, then add the desired alias after the conflict is resolved.
Work with Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents, spreadsheets, and presentations. Its format support helps you move existing files into your workflow. It does not manage Exchange Online aliases or resolve mailbox conflicts.

Frequently Asked Questions
Why does Exchange say an address is in use even though messages bounce?
A bounce does not prove the address is unassigned. Search all Exchange recipients with Get-Recipient and inspect their EmailAddresses to find a conflicting assignment.
Can I remove a primary SMTP address as an alias?
No. First assign another primary address to the mailbox using Set-Mailbox -PrimarySmtpAddress, then check its EmailAddresses and remove the old address if it remains as a secondary alias.
Should I check the onmicrosoft.com routing address too?
Yes. Search for the full routing address separately with Get-Recipient if it may be involved. A routing address and a custom-domain address are different addresses, so check each exact value.
What if the address belongs to a synchronized recipient?
Make the address change in the authoritative on-premises environment, allow directory synchronization to complete, and then search Exchange Online recipients again before assigning the address.




