Export mailbox to PST



I'm looking for a powershell command to export a mailbox to a PST file. The equivalent of New-MailboxExportRequest for an Office 365 mailbox.

I've tried with eDiscovery export in the Compliance panel, but an error says that the user doesn't have permissions to export, and I've added these permissions, and wait, and log-out and log-in, but still getting the same error. In case I made it working, is it possible to automate it in powershell? I would like  to schedule a task to export some mailboxes to PST during the night.

Thank you!!



3 Replies
best response confirmed by joseparra (Contributor)
No such thing in O365, eDiscovery or export via Outlook are your options.
Thank you Vasil
Use the New-MailboxExportRequest cmdlet to begin the process of exporting contents of a primary mailbox or archive to a . pst file.