Skip to content

In-place Search for Microsoft Exchange

When preserving a Microsoft 365 (M365) or Exchange mailbox using Exchange Web Services (EWS), it is possible to perform In-place Searches to narrow down the data set using Forensic Email Collector (FEC).

You can launch the In-place Search interface for Exchange by clicking the In-place Search link as shown below:

Exchange In-place Search

FEC’s In-place Search allows you to execute your search query on the server and preview the search results. The search syntax is identical to Advanced Query Syntax (AQS). The accuracy of the search results is dependent on the capabilities of the Exchange server executing the search.

You can run AQS searches for a keyword without specifying a property. This would result in all indexed properties being searched for that keyword.

Example: contract

You can also specify the property to be searched by including the property name as a keyword.

Example: subject:contract

Supported AQS keywords are as follows:

KeywordValue typeExample
subjectStringsubject:contract
bodyStringbody:contract dispute
attachmentStringattachment:report
toStringto:"John Doe"
fromStringfrom:brown
ccStringcc:"Jane Doe"
bccStringbcc:daniel
participantsStringparticipants:jack
categoryStringcategory:project
importanceStringimportance:high
kindItem typekind:meetings
sentDatesent:11/30/2015
receivedDatereceived:yesterday
hasattachmentBooleanhasattachment:true
isflaggedBooleanisflagged:true
isreadBooleanisread:false
sizeNumbersize:>4000

IMPORTANT By default, a string value is searched as a case-insensitive prefix substring search. For example, searching for subject:contract would match any of the following subjects:

  • Contract dispute
  • How to deal with severe contractions

If you enclose the value in quotes, the entire word would be required rather than matching prefixes. So, searching for subject:"contract" would not match the second subject containing the word “contractions”.

Including multiple words in a query string would require all of the words to be present in the search fields. For example, searching for subject:contract dispute would match any of the following subjects:

  • Contract dispute
  • Disputed contracts

Finally, enclosing the query string in quotes causes multiple words to be treated as a phrase. So, if you search for subject:"contract dispute", only the first subject above would be matched.

You can search for specific dates in mm/dd/yyyy format.

Example: received:12/21/2016

You can also use the greater than, less than, and range operators as follows:

received:>7/30/2016
sent:<=11/9/2011
received:8/21/2015..9/7/2016

The following Boolean operators are supported:

OperatorExamples
ANDcontract AND from:"Jack Daniels"
subject:(contract AND dispute)
ORsubject:contract OR from:"Jane Doe"
from:("Jack Daniels" OR "John Doe")
NOTNOT from:"Jane Doe"
received:NOT today

Once you have finalized your search query, you can save it by using the SAVE button. This will close the In-place Search window and activate your query. If you would like to clear the search query, you can click on the small 🗑️ symbol next to the Search Query Activated text.