Search Query Operators Reference

Review supported logical and Boolean operators for building application search queries. See Searching for Applications for procedural details.

Logical Operators

Logical operators connect a property to its desired value. Available operators include variations of is, is not, contains, does not contain, in, and not in.

Note: The operators available depend on the selected property. For example, string properties support the contains operator.

Important Considerations

  • Use a plain text editor when copying and pasting in or not in operators into the search bar.
  • For each property type, enter text as a string. For example, AndroidClassic 0001, AndroidClassic 0002.
  • Enclose each string in single quotes. To include a single quote within a string, escape it using a backslash. For example, 'John\'s Device'.
  • Only the in and not in operators support pasting long, comma-separated lists. Other operators support only single-value input.

Boolean Operators

Boolean operators allow you to link multiple search filters together to refine your results:
  • AND returns results that match all specified conditions.
  • OR returns results that match at least one of the specified conditions.
  • Grouped OR evaluates a group of OR-linked properties as a single unit, allowing you to override the standard precedence of operations.
Note: By default, AND has higher precedence than OR. Use Grouped OR to ensure grouped conditions are evaluated together.

Exclusion Searches

Use exclusion logic to filter out apps that match specific criteria. This search type applies only to app policy properties—you cannot exclude based on managed app properties.

When constructing exclusion queries, you must change the qualifier from Include to Exclude.
Important: Simply inverting the logical operator (for example, using IS NOT instead of IS) without changing the qualifier does not guarantee accurate exclusion.
Switching between inclusive and exclusive searches.

Key Behavior

  • Include + IS NOT may still return unintended results.

  • Exclude + IS ensures the correct exclusion of matching items.

Example (Incorrect):

INCLUDE: STATUS ≠ FAILED

This may return an incomplete result set because it still includes apps not assigned to any devices.

Example (Correct):

EXCLUDE: STATUS = FAILED

This accurately removes apps with a status of FAILED.