Others

How to Disable Exchange Online Archive for a Synced Mailbox

Muhammad TalhaMuhammad Talha Nov 2, 2026 869 views

Question details

The user needs to fully disable an archive mailbox in Exchange Online for a mailbox synced from an on-premises Active Directory.

How to Disable an Exchange Online Archive for a Synced Mailbox
Product
Microsoft Exchange Online
Device & OS
not provided
Scenario
Deprovisioning an archive mailbox after a directory synchronization.
Observed behavior
The archive mailbox remains enabled even after changing the msExchRemoteRecipientType attribute from 6 back to 4.
Before you start

Ensure you have the necessary administrative privileges in your on-premises Active Directory and access to run Azure AD Connect synchronization commands.

Solution 1Recommended

Modify msExchRemoteRecipientType Attribute to Deprovision Archive

Correctly set the remote recipient type attribute to deprovision the archive and force an Azure AD sync.

A value of 4 represents a migrated mailbox, while 6 represents a migrated mailbox with an archive provisioned. Simply changing it from 6 to 4 does not trigger the deprovisioning correctly. The value needs to be set to 20 to successfully disable the archive.

1
Open Active Directory

Access your on-premises Active Directory where the user account is located.

2
Modify Attribute

Locate the synchronized mailbox user, open the Attribute Editor, and change the 'msExchRemoteRecipientType' attribute to 20.

3
Open PowerShell

Launch PowerShell as an Administrator on your Azure AD Connect server.

4
Force Synchronization

Run the command 'Start-ADSyncSyncCycle -PolicyType Delta' to force a delta synchronization.

5
Verify Changes

Wait several minutes for the sync to complete, then check Exchange Online to confirm the archive mailbox has been disabled.

Modify msExchRemoteRecipientType Attribute to Deprovision Archive
Re-enabling the Archive: If you need to provision the archive again in the future, set the msExchRemoteRecipientType value back to 6 and run the synchronization command again.
Free Microsoft Office alternative

Boost Your Daily Productivity with WPS Office

While managing complex Exchange environments requires specialized IT knowledge, your daily document management shouldn't be complicated. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, ensuring seamless creation and editing of all your important files.

  1. 1. Download the Installer: Visit the official WPS website and click the free download button.
  2. 2. Install the Application: Run the downloaded installer and follow the quick on-screen instructions.
  3. 3. Open Existing Files: Launch WPS Office and directly open your Microsoft Office documents without worrying about formatting issues.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight suite that runs fast on Windows, Mac, and LinuxFamiliar user interface requiring zero learning curve for Office usersBuilt-in PDF editing and format conversion tools at no extra cost
microsoft office alternative - wps office

Frequently Asked Questions

What does msExchRemoteRecipientType value 6 indicate?

A value of 6 indicates that the synchronized user is a migrated mailbox that currently has an archive provisioned in Exchange Online.

Why didn't setting the attribute to 4 disable the archive?

A value of 4 represents a standard migrated mailbox. However, changing it to 4 does not actively trigger the deprovisioning process for an existing archive. Setting the value to 20 is required to force Exchange Online to properly disable the archive.

How long does it take for the archive to be disabled after running the sync?

After running the Azure AD Connect delta synchronization command, it typically takes a few minutes for the changes to replicate and reflect in Exchange Online. Wait several minutes before verifying the mailbox status.

How can I re-enable the archive mailbox later?

To provision the archive again, change the msExchRemoteRecipientType attribute back to 6 in your on-premises Active Directory, and run the Start-ADSyncSyncCycle delta synchronization command again.