eDiscovery in EWS in Exchange

Exchange Server 2013

Learn about eDiscovery in EWS in Exchange.

Last modified: March 09, 2015

Applies to: Exchange Online | Exchange Server 2013 | Office 365

eDiscovery is a federated query web service that enables external applications to perform queries of Exchange data.

Discovery consists of several phases, including identifying and preserving key data, culling down and reviewing the data, and producing data in court. eDiscovery queries facilitate the discovery process by providing a single discovery workflow across Exchange and SharePoint.

The eDiscovery functionality that is exposed by EWS is available via operations introduced in Exchange Online, Exchange Online as part of Office 365, and versions of Exchange starting with Exchange 2013.

Table 1.  New operations for eDiscovery

Operation name



Gets configuration information for in-place holds, saved discovery searches, and the mailboxes that are enabled for discovery search.


Gets the status of a query-based hold, which is set by using the SetHoldOnMailboxes operation.


Retrieves details about items that cannot be indexed. This includes, but is not limited to, the item identifier, an error code, an error description, when an attempt was made to index the item, and additional information about the file.


Retrieves the count of items that cannot be indexed in a mailbox.


Gets a list of mailboxes that the client has permission to search or perform eDiscovery on.


Searches for items in specific mailboxes that match query keywords.


Sets a query-based hold on items.