Copilot for Microsoft 365 Tech Accelerator
Feb 28 2024 07:00 AM - Feb 29 2024 10:30 AM (PST)
Microsoft Tech Community
SOLVED

Export mailbox to PST

Brass Contributor

Hi,

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!!

 

Jose

4 Replies
best response confirmed by joseparra (Brass Contributor)
Solution
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.

@joseparra 

You need eDiscovery and special right assigned, even your are tenant admin

1 best response

Accepted Solutions
best response confirmed by joseparra (Brass Contributor)
Solution
No such thing in O365, eDiscovery or export via Outlook are your options.

View solution in original post