logo
search
Exchange Connection Problems

How to Add a Former Employee's Email Address in Exchange Online

Ayan MasoodAyan Masood Oct 21, 2026 869 views

Question details

The user needs to manage and add a former employee's email address in Exchange Online but is blocked by an Azure Active Directory error.

How to Add a Former Employee's Email Address in Exchange Online
Product
Exchange Online
Device & OS
not provided
Scenario
Attempting to manage user accounts and email addresses for former employees within a hybrid identity management or cloud environment.
Observed behavior
An Azure Active Directory error appears, stating that the object is mastered on-premises or undergoing migration, which prevents modifying the recipient object in the cloud.
Before you start

Ensure you are signed in with Global Administrator credentials and verify that your organization no longer requires on-premises directory synchronization before making system-wide identity configuration changes.

Solution 1Recommended

Disable Directory Synchronization Using PowerShell

By disabling directory synchronization via PowerShell, you can convert synced users to cloud-only users, allowing you to manage their email addresses directly in Exchange Online.

When an account is managed by on-premises Active Directory, Exchange Online locks the recipient object to prevent conflicting changes. If hybrid identity management is no longer needed, disabling directory synchronization resolves this lock.

1
Open PowerShell as Administrator

Launch PowerShell on your computer with administrative privileges to ensure you have the necessary permissions to run Microsoft Online Services commands.

2
Connect to the MSOL Service

Type the command 'Connect-MsolService' and press Enter. When prompted, sign in using your Microsoft 365 Global Administrator credentials.

3
Check Current Synchronization Status

Run the command '(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled' to verify if directory synchronization is currently active. If it returns 'True', proceed to the next step.

4
Disable Directory Synchronization

Execute the command 'Set-MsolDirSyncEnabled -EnableDirSync $false' to turn off synchronization. Confirm the action if prompted by the system.

5
Verify the Changes

Run the status check command again '(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled'. Once the value returns 'False', you can successfully manage the former employee's email address in the Exchange Admin Center.

Disable Directory Synchronization Using PowerShell
Propagation Time: It can take up to 72 hours for directory synchronization to be completely disabled across your Microsoft 365 tenant depending on the number of objects.
Free Microsoft Office alternative

Manage Your Business Documents with WPS Office

While resolving backend email configurations in Microsoft 365, you can empower your team with WPS Office—a powerful, lightweight, and free alternative to Microsoft Office. Enjoy full format compatibility without the heavy subscription costs.

  1. 1. Download the Installer: Visit the official WPS website and download the free WPS Office installation package for your operating system.
  2. 2. Install WPS Office: Run the installer and follow the quick on-screen prompts to set up the software on your computer.
  3. 3. Open Your Office Files: Launch WPS Office and drag your existing .docx, .xlsx, or .pptx files into the workspace to continue editing seamlessly.
Completely free to download and use for essential document creationSeamless compatibility with Microsoft Word, Excel, and PowerPoint formatsFamiliar and intuitive user interface requires zero learning curveLightweight installation that runs smoothly on older devices
microsoft office alternative - wps office

Frequently Asked Questions

Why does Exchange Online say my object is mastered on-premises?

This error occurs because the user account or mailbox was originally created in a local Active Directory environment and synced to the cloud. Microsoft 365 restricts cloud modifications to prevent conflicts with your local server.

Can I keep directory synchronization enabled and still change the email address?

Yes. If you must keep directory synchronization enabled, you must modify the former employee's email address attributes (such as proxyAddresses) in your on-premises Active Directory and wait for the changes to sync to Exchange Online.

How do I assign a former employee's email to a new user?

Once the object is cloud-managed, you can convert the former employee's mailbox to a Shared Mailbox, or you can delete the old account and add the email address as an alias (proxy address) to an active employee's mailbox.