Extract emails from Outlook Archive

Iron Contributor

I have a user with a root folder in his Archive that has over 100 subfolders with emails in them.

 

Is there a way to pull only the emails without the folder structure from the root folder and all its subfolders? 

3 Replies

You need to be a bit more specific here, pull them out as in flatten the hierarchy or export them or?

Yes Flatten. Keep the root folder but remove all subfolders but keep the emails in them.@Vasil Michev 

You will have to use some EWS-based script for that, here's a sample one: https://gallery.technet.microsoft.com/office/Merge-mailbox-folders-cf1e9576