Script to remove duplicate mail items after office365 migration

Ben Lester 26 Reputation points
2021-03-05T22:54:24.957+00:00

We recently migrated over to o365 exchange some of the mailboxes duplicated the email items.

I’m looking for a script to remove the duplicates from those mailboxes

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,364 questions
0 comments No comments
{count} vote

Accepted answer
  1. Vasil Michev 95,836 Reputation points MVP
    2021-03-06T08:52:29.223+00:00
    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,211 Reputation points
    2021-03-08T07:47:43.623+00:00

    @Ben Lester

    Does the above reply helps? If the above reply helps, please be free to mark it as an answer for helping more people.

    I also want to confirm with you, whether those email in the same folder? If those duplicates emails in the same folder as original email, you could use Outlook "Clean Up" function to delete them:

    75321-delete.gif


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments