question

47451047 avatar image
0 Votes"
47451047 asked

New-ComplianceSearch - search help

Hello.

  1. I have a certain attachment.
    I need to find emails with this attachment. I know its name. How can I do this?

  2. How can I find all emails where the word car appears in the title of any topic ?

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

michev avatar image
0 Votes"
michev answered

Refer to the following document on building KQL queries: https://docs.microsoft.com/en-us/microsoft-365/compliance/keyword-queries-and-search-conditions?view=o365-worldwide
For the first question, you will use something like:

 attachmentnames:file.docx

For the second, something like this should do:

 subject:"test email"


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.