Fix Shared Mailbox Deleted When a Rehired User Account is Recreated
Question details
Understand why a shared mailbox is automatically deleted and converted into an alias when a former employee's user account is recreated.

- Product
- Microsoft Exchange / Azure AD
- Device & OS
- not provided
- Scenario
- Recreating and licensing an Active Directory account for a returning employee whose old email address was previously added as an alias to a shared mailbox.
- Observed behavior
- The shared mailbox is unexpectedly deleted, and the email address automatically becomes an alias of the newly recreated user account.
Ensure you have administrative access to your Active Directory environment and Azure AD Connect portal to review synchronization logs and account aliases before making changes.
Review Hybrid Identity Rules and Consult Microsoft Q&A
Because this behavior is tied to Active Directory and hybrid identity management rather than a purely cloud-based setup, resolving it requires investigating your Azure AD Connect rules.
In a hybrid environment, on-premises Active Directory is considered the source of authority. When the user account is recreated on-premises and synced to the cloud via Azure AD Connect, the sync engine detects a conflict with the existing shared mailbox alias. Depending on your configuration rules, the cloud-based shared mailbox may be deleted to allow the primary on-premises object to claim the address.
Verify the proxyAddresses and primary SMTP attributes of the newly recreated user account in your local Active Directory to confirm the exact addresses being synchronized.
Open the Synchronization Service Manager on your Azure AD Connect server. Check the export logs to Microsoft Entra ID (formerly Azure AD) to see the exact deletion and modification events triggered by the account recreation.
Since this is a complex hybrid architecture issue, navigate to the official Microsoft Q&A forums. Post your specific synchronization logs and scenario under the 'Azure AD Connect' or 'Azure AD hybrid identity' topics to get targeted assistance from Microsoft engineers.

Looking for a Lightweight and Reliable Office Suite?
While IT administrators manage complex backend Exchange and Active Directory environments, your team still needs powerful desktop tools to get work done. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office, offering Word, Excel, PowerPoint, and PDF tools in a single application.
- 1. Download the Installer: Visit the official WPS Office website and click the Free Download button.
- 2. Install WPS Office: Run the downloaded installation file and follow the on-screen prompts to set up the software.
- 3. Open Your Files: Launch WPS Office and immediately start editing your existing Word, Excel, or PowerPoint documents without losing any formatting.

Frequently Asked Questions
Why did recreating a user account delete my shared mailbox?
In a hybrid Active Directory environment, recreating a user account with an email address that is currently used as an alias for a shared mailbox creates a sync conflict. Azure AD Connect prioritizes the newly synced on-premises account, which can result in the deletion of the conflicting shared mailbox in the cloud.
How can I prevent the shared mailbox from being deleted when a user is rehired?
Before you recreate and license the returning employee's account in your local Active Directory, manually remove their former email address from the shared mailbox's aliases in Exchange Admin Center. This prevents synchronization conflicts when Azure AD Connect runs.
Can I recover the shared mailbox that was automatically deleted?
Yes, deleted mailboxes can usually be recovered within 30 days. You can restore it via the Exchange admin center under 'Deleted mailboxes' or through the Microsoft 365 admin center by restoring the deleted associated user/group object.
Does this issue happen if I only use Microsoft 365 cloud services?
No, this specific behavior is characteristic of hybrid identity setups where an on-premises Active Directory acts as the source of authority. In purely cloud-based environments, the system typically prevents you from creating a user with an email address that is already in use by a shared mailbox.




