A unified data governance solution that helps manage, protect, and discover data across your organization
Hi MB,
Thankyou for reaching microsoft Q&A!
it turns out KeyQL in Purview eDiscovery really does rely on whitespace (or an explicit OR) to split clauses. If you run
(Participants=a@example.com)(Participants=b@example.com)
with no space between the two parenthesized predicates, the parser won’t treat it as “OR” – you’ll either get a syntax warning or only the first predicate will be picked up.
The supported ways to express “any of these N participants” are:
• Using whitespace (implicit OR)
(Participants=a@example.com) (Participants=b@example.com)
• Using the OR operator
Participants=a@example.com OR Participants=b@example.com
• Grouping values under one property
Participants:(a@example.com b@example.com)
I generally recommend the third form (Participants:(…)) since it’s compact and clearly signals “match any of these values.”
Let me know if you see a specific error in the KeyQL editor when you try the no-space version, or if you need any other examples!
Reference List
- Use Keyword Query Language to create search queries in eDiscovery – https://learn.microsoft.com/purview/edisc-keyword-query-language
- Search queries in eDiscovery (Properties & Boolean logic) – https://learn.microsoft.com/purview/edisc-search-query