- What’s your ENow AppGov Score? Free Microsoft Entra ID app security assessment - Thu, Nov 30 2023
- Docker logs tail: Troubleshoot Docker containers with real-time logging - Wed, Sep 13 2023
- dsregcmd: Troubleshoot and manage Azure Active Directory (Microsoft Entra ID) joined devices - Thu, Aug 31 2023
In Microsoft 365, admins can export mailboxes using the eDiscovery feature in the admin center. It allows you to filter the data using search terms, and the export is not limited to single mailboxes.
However, there is also an export option for end users in Outlook. It offers an easy wizard-driven workflow that also supports a selective export by choosing certain folders or item types.
Starting the export wizard
To begin this process in Outlook, click the File menu in the top ribbon, choose Open & Export > Import/Export.
You can choose from many options. However, we want to export email to a file.
On the Export to a File screen, choose the Outlook Data File (.pst) option.
Next, choose which folders and data you want to export from your Microsoft 365 email account.
Choose the location of the PST file export. You can also choose how to handle duplicate items. Click Finish.
Finally, you can choose to add a password to protect the resulting PST file backup of your Microsoft 365 email account.
After choosing your password options, you will see the PST file export begin and progress. After the export, you should see the PST file created in the target location.
Conclusion
The process of exporting emails from Microsoft 365 with Outlook is uncomplicated. This is a one-time process that takes a copy of your Microsoft 365 emails and stores them in a PST file.
Subscribe to 4sysops newsletter!
However, it can also be used to create a copy of important email folders from time to time, so data loss that does occur will not be as significant. Additionally, emails that have been deleted can be retrieved from the PST file and copied back into the Inbox.
Read the latest IT news and community updates!
Join our IT community and read articles without ads!
Do you want to write for 4sysops? We are looking for new authors.
Is there a way to export mailboxes to a PST without using Outlook? I’m building on onboarding / offboarding process and would like to be able to export terminated employees mailbox to a pst using a script.
I used to use PowerShell to export an entire copy of the mailbox to a PST when users left, before deleting their account. Command I used to use was:
New-MailboxExportRequest -Mailbox USERNAME -FilePath “\\SERVER\SHARE\username.pst”
From memory it had to save it to a shared folder, couldn’t save to the local server, but this was on-prem Exchange 2010, so possibly different now. Not sure about O365, but I assume it has similar/better functionality.
Also, this article mentions the process described in the article as a kind of backup, which it is not, as using Outlook to “export” will actually MOVE the emails to the PST and remove them from the Office365 account, so not a backup at all. Also, PST files are notoriously problematic, so need to be aware of their limitations.
EDIT: just realised export as mentioned does copy rather than move, was thinking of autoarchiving in Outlook to PST. 🙂
PST’s are prone to corruption. I don’t know why anyone would still use them (especially if you are in the cloud. Although the article is completely accurate as to how to do this, I would seriously ask why you would ever encourage the use of PST’s for anything.