How to export Exchange Online archive mailbox?

Zoltan Erszenyi 1 Reputation point
2020-10-02T08:45:59.607+00:00

I have a request to export the archive mailbox only of a user in Exchange Online.

In Exchange on-prem I can use the New-MailboxExportRequest commandlet, but this commandlet is unavailable in EO.

The only option that I can find is an eDiscovery search, but it doesn't have an archive-only search option.

Therefore I must still use eDiscovery and play around with a criterion based on received date, estimating when archived emails were received.

This approach will either result in data loss, or data duplication.

Is there a targeted way to export the full content of the archive mailbox only?

Thanks.

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,057 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Lydia Zhou - MSFT 2,371 Reputation points Microsoft Employee
    2020-10-05T03:02:21.12+00:00

    @Zoltan Erszenyi

    What about exporting to pst files from Outlook? Except eDiscovery, you can export items manually from Outlook. For your reference: Export or backup email, contacts, and calendar to an Outlook .pst file. Otherwise, you may have to use the third-party tool to reach your requirement.

    Here are also some similar threads for more information:
    Export Online Archive from o365 to pst,
    How to Export Office 365 Mailboxes to PST- 3 Ultimate Solutions.
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    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.

  2. David van Biljon 6 Reputation points
    2021-04-12T13:32:23.037+00:00

    Hi.

    Using Windows Azure Active Directory Module for Windows PowerShell, you can use the following commands to move the online in-place archive to your local exchange server.

    To Connect to O365 Servers

    1. $LiveCred = Get-Credential
      (This account must be a onmicrosoft.com account)
    2. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
    3. Import-PSSession $Session -allowclobber
    4. Connect-MsolService -Credential $LiveCred
    5. $opcred = get-credential
      This account needs to be normal AD account.

    New Move request:
    New-MoveRequest -Identity (Email address goes here) -Outbound -ArchiveOnly -RemoteArchiveTargetDatabase (Database name) -RemoteHostName "mail.example.co.za" -RemoteCredential $opcred -TargetDeliveryDomain "domain.co.za" -BadItemLimit 100

    After you move the archive to your local exchange will you be able to export it from your exchange server using:
    New-MailboxExportRequest -mailbox (Alias goes here e.g Joe.Blogs or JoeB) -filepath "\server\folder(Name.surname e.g Joe.Blogs)_archive.pst" -isarchive -Priority Highest

    1 person found this answer helpful.
    0 comments No comments

  3. Vasil Michev 91,126 Reputation points MVP
    2020-10-02T10:18:51.253+00:00

    You can export the entire content of the mailbox, the resulting PST will preserve the folder structure and will have a separate node for the Online archive, so you can just keep that. Alternatively, you can select the option to export to individual items, which again will give you the full folder structure and you can remove anything unneeded.


  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more