Archiving in EWS in Exchange

Learn about archiving in EWS in Exchange.

Archive mailboxes are secondary mailboxes that are associated with a user. Archive mailboxes are typically used to manage email storage limits. For example, older email items might periodically be moved from the Inbox to the archive mailbox.

Exchange Online, Exchange Online as part of Office 365, and Exchange Server 2013 introduce two new Exchange Web Services (EWS) operations that you can use to archive a set of mail items from a primary mailbox. Archiving Inbox items in this way preserves the folder hierarchy of the items. In addition, archive mailboxes can now be stored either locally on a client, or remotely, in a way that is mostly opaque to a user, by using a folder path to point to the contents of the archive.

Archiving operations in EWS

The following table lists the archiving operations that were introduced in Exchange 2013.

Operation name Description
ArchiveItem
Moves an item from the primary mailbox to the archive mailbox.
CreateFolderPath
Creates a URI that points to the storage location for the archive mailbox.

See also