move archive emails back to primary mailbox

Adnan Abdul Salam 96 Reputation points
2023-02-09T14:05:39.8133333+00:00

i want to move archive mailbox emails back to primary mailbox of shared mailboxes ,and then disable the archive

please i found solution of disabling the archive and enabling again. and then use mailbox restore request cmdlet , but it is not safe methods

secondly i tried to search some scripts and work but not working.

some please help

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,343 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
525 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 99,356 Reputation points MVP
    2023-02-09T14:14:17.1233333+00:00

    There is no built-in solution for that. You either have to move the items manually, via drag&drop in Outlook or OWA, or export to PST/import, or, use a programmatic solution based on the EWS API. Here's a sample script that does that: https://github.com/David-Barrett-MS/PowerShell-EWS-Scripts/wiki/Merge-MailboxFolders.ps1

    1 person found this answer helpful.

  2. Andy David - MVP 144.2K Reputation points MVP
    2023-02-09T14:12:24.2633333+00:00

    You only solution is to either move them manually back using Outlook or OWA or use a script:

    https://eightwone.com/2021/08/14/unarchiving-mailbox-items/