Exchange Connection Problems

Release an Alias Before Creating an Exchange Online Shared Mailbox

Natalie TaylorNatalie Taylor Nov 14, 2026 869 views

Question details

Determine why an email address is still unavailable and release it for a new shared mailbox.

Release an Alias Before Creating an Exchange Online 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.
Before you start

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.

Solution 1Recommended

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.

1
Connect to Exchange Online

Open PowerShell and run Connect-ExchangeOnline, then sign in with an account that can manage recipients.

2
Search recipient addresses

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.

3
Remove the secondary alias

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.

4
Verify and retry

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.

Find and remove the conflicting Exchange Online address
Check the recipient type: The conflicting address may belong to a group, contact, or another recipient rather than a mailbox. Remove it from the correct recipient using the appropriate management command or admin center. For a synchronized recipient, make the change in the authoritative on-premises environment and allow synchronization to complete.
Free Microsoft Office alternative

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.

Compatible with Microsoft Office formats including DOCX, XLSX, and PPTXEdit documents, spreadsheets, and presentations in a familiar interfaceFree and lightweight for everyday Office file workKeep mailbox setup notes and recipient inventories in editable files
microsoft office alternative - wps office

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.