question

22337703 avatar image
0 Votes"
22337703 asked joyceshen-MSFT commented

Ediscovery for only external contacts.

I want to search only for emails sent to any domain except my organization. I tried to use the following search conditions:
NOT to:mydomain.com
However, it does not return mail sent to both external and internal people. For example:
to: external@extdomain.com
cc: MyOwnMail@mydomain.com
This email won't be displayed in search and it was sent to external domain.

office-exchange-server-mailflow
· 3
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.

Hi @22337703

In order to help you, we require more information.

Share the screenshot of the configuration of your eDiscovery case??

Getting that information may help you (and me) to understand the current situation.

Carlos Solís Salazar


NOTE: To answer you as quickly as possible, please mention me in your reply.


0 Votes 0 ·

Hi @22337703

I will need some time to test this in my environment to see the result.

0 Votes 0 ·

Hi,

Could you please try using search-mailbox to perform the same search?

In my test, NOT to:mydomain.com in ediscovery search cannot filter the correct results however search-mailbox works.
Get-Mailbox | Search-Mailbox jayce@jaycetech.onmicrosoft.com -SearchQuery "NOT to:domain.com" -TargetMailbox "xxx" -TargetFolder "xxx"

0 Votes 0 ·

0 Answers