question

ZoltanErszenyi-4742 avatar image
0 Votes"
ZoltanErszenyi-4742 asked DavidvanBiljon-7880 answered

How to export Exchange Online archive mailbox?

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.

office-exchange-online-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

michev avatar image
0 Votes"
michev answered ZoltanErszenyi-4742 commented

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Michev, but I only want the archive exported.

0 Votes 0 ·
LydiaZhou-MSFT avatar image
0 Votes"
LydiaZhou-MSFT answered LydiaZhou-MSFT commented

@ZoltanErszenyi-4742

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.

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Lydia, but the user has an Office edition that doesn't allow access to the archive, and they don't have plans to replace it with ProPlus or O365. Hence the need to export the archive to a PST file. I know it is convoluted, but I can't change that.

It can be done in on-prem Exchange. I don't understand why it is so difficult to do the same in EOP, since it is a superset of the on-prem systems.

Anyone out there who's done it successfully?

Thanks.

0 Votes 0 ·

@ZoltanErszenyi-4742

If so, we can only export to .pst with third-party tool or eDiscovery (it's not supported to only search archive mailbox).
Additionally, if needed, you can post or vote in o365 UserVoice for the requirement of exporting Exchange Online mailboxes with Powershell. Here is a similar requirement: Export mailbox in Exchange Online to pst using PowerShell or other method.


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.

0 Votes 0 ·

Is there any update on this thread?
Please let us know if you would like further assistance.


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.

0 Votes 0 ·

Just checking in to see if above information was helpful.
If you have any questions or need further help on this issue, please feel free to post back.


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.

0 Votes 0 ·
AleckStewart-1830 avatar image
0 Votes"
AleckStewart-1830 Suspended answered

I recommend Office 365 Backup Tool for exporting Exchange Online into PST file. This software export all mailboxes of Office 365 as PST file format. It also restores mailboxes of PST file into Office 365.

https://www.arysontechnologies.com/office365-backup/


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DavidvanBiljon-7880 avatar image
0 Votes"
DavidvanBiljon-7880 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.