Home > Blockchain >  Looking for a way to export O365 mailbox to .pst file
Looking for a way to export O365 mailbox to .pst file

Time:12-07

I do not think there is an EASY, right click -> export to PST for a mailbox, if you know of one, please let me know.

Since I can't find an easy way, I am going to attempt the code route.

I am looking to write some code to export an O365 mailbox to a .pst file. This is a local backup for when we want to keep the contents of an O365 mailbox after removing licenses.

After removing the O365 Licenses, the mailbox will stay for 30 days and then it is deleted.

I saw a post with a description about using Redemption which I have licensed, but there really is no detail on the process.

Microsoft Graph API to extract a .pst

I have access to the mailbox via EWS and would like to iterate through folders and then mail items in each folder.

Has anyone done anything with copying an O365 Mailbox offline to a .pst file?

CodePudding user response:

You can use the compliance centre to do the export eg https://lazyadmin.nl/office-365/export-office-365-mailbox-to-pst

Another easy solution is to just use the windows Desktop version of Outlook, eg create a profile against the Mailbox, do the export and manually verify it does require a person to do that (assign it to helpdesk etc)

There are lot of third party offering as Andrew mentioned just google them and check the reviews.

CodePudding user response:

If you already have an Outlook profile that connects to the Exchange mailbox in question, you can simply drag/drop folders/messages from the Exchange mailbox to a PST file.

You can also use Outlook Object Model or Redemption to copy the messages programmatically.

  • Related