Email Migration

Fix Exchange Public Folder Migration Error: Duplicate Key Already Added

Huma Ashraf ChHuma Ashraf Ch Nov 3, 2026 869 views

Question details

Users experience a failure when attempting to migrate Exchange public folders to Exchange Online, accompanied by an error regarding a duplicate key.

Fix Exchange Public Folder Migration Error: Duplicate Key Already Added
Product
Microsoft Exchange
Device & OS
not provided
Scenario
Migrating on-premises public folders to Exchange Online.
Observed behavior
The migration batch process fails and displays the error message: 'An item with the same key has already been added.'
Before you start

Ensure you have the necessary administrator permissions in Exchange Online and verify that your newly created destination public folder mailboxes are currently empty before initiating the migration.

Solution 1Recommended

Verify Empty Destination and Skip Deleted Items

Ensure no duplicate items exist in the destination and reduce migration data overlap by explicitly excluding deleted items and folders.

This error typically indicates that a duplicate item or hidden key is attempting to migrate into Exchange Online. Skipping deleted items reduces unnecessary data transfer and bypasses corrupted or duplicate hidden files.

1
Check Destination Folders

Log into your Exchange Admin Center and verify that all destination public folders created in Exchange Online are completely empty.

2
Adjust Migration Settings

When configuring your public folder migration batch parameters, apply the settings to explicitly skip deleted items and deleted folders.

3
Resume the Migration

Start or resume the migration batch to see if the exclusion of deleted items resolves the duplicate key conflict.

Verify Empty Destination and Skip Deleted Items
Data Reduction: Skipping deleted folders not only resolves duplicate key errors but also speeds up the overall public folder migration process.
Free Microsoft Office alternative

Experience a Seamless and Lightweight Office Alternative

While Microsoft Exchange and Microsoft 365 handle complex enterprise server administration and email migrations, your daily document creation shouldn't require complex troubleshooting. WPS Office provides a free, lightweight, and incredibly user-friendly alternative to Microsoft Office. It easily opens Word, Excel, and PowerPoint files without heavy subscription fees, allowing you to focus on your work rather than administrative overhead.

  1. 1. Visit the Official Website: Go to the official WPS Office website to access the free installer.
  2. 2. Download the App: Click the 'Free Download' button to get the lightweight installation package for your operating system.
  3. 3. Install and Work: Run the installer, open the application, and instantly begin editing your Microsoft Office documents without any complex setup.
Fully compatible with Microsoft Office file formats including .docx, .xlsx, and .pptx.A lightweight installation process that bypasses complex backend setups.Includes Writer, Spreadsheet, Presentation, and powerful PDF tools all in one app.Free to use with a highly familiar user interface for a seamless workflow transition.
microsoft office alternative - wps office

Frequently Asked Questions

What does 'An item with the same key has already been added' mean during an Exchange migration?

This error occurs when the migration process attempts to copy an email, folder, or setting to a destination mailbox that already contains an object with the exact same unique identifier (key). It is often caused by residual data, overlapping migrations, or corrupted deleted items.

How do I ensure my destination Exchange Online public folders are empty?

You can verify the contents of your destination public folders by logging into the Exchange Admin Center, navigating to the Public Folders section, and checking the item count and size for each target folder to confirm they read zero.

Can I bypass duplicate items without losing my active public folder data?

Yes. You can adjust your migration batch settings to skip deleted items and deleted folders, or increase the BadItemLimit. This often bypasses the corrupted or duplicate items without impacting your active, necessary data.