Advanced Query Syntax in Exchange 2013 RRS feed

All replies

  • Yes AQS works as it did in 2010, what does your AQS syntax look like and what errors are you getting ?

    You can't use AQS in eDiscovery however you need to use KQL .


    Friday, April 26, 2013 12:23 PM
  • Hi Glen,

    Thanks for such a quick reply.

    The Query String in the AQS query is   --->      subject:\"DISCLAIMER\"

    and I have mails in the mailbox that has DISCLAIMER as subject.

    However, No mails are returned by the following statement I use for AQS in Exchange 2013 using EWS Managed API 2.0.                                                

    findItems = service.FindItems(folder.Id, sQueryString, view1);

       where service is ExchangeService object
       and view1 is an object of ItemView 

    When I keep sQueryString blank, I get all the mails. 

    This works fine in Exchange 2010 using EWS  Managed API 1.2

    Can you please suggest the solution to this issue.




    Friday, April 26, 2013 6:02 PM
  • That works for me okay a few things to check

    AQS relies on the Exchange Content indexing or Exchange Search

    If your mailboxes are using a language other then English I would suggest you use the conical format eg

    service.FindItems(WellKnownFolderName.Inbox, "System.Subject:\"TEST\"", new ItemView(100));

    What patch level are your servers at ? are you running CU1 ?


    Saturday, April 27, 2013 12:10 AM