title: Microsoft Graph API 'any' filter applied to Contacts
body: <p>I'm trying to query contacts from Azure AD using MS Graph API and filter to retrieve only those that have at least one phone number defined, so I tried with this filter:</p>
  <pre><code>https://graph.microsoft.com/v1.0/contacts?$filter=phones/any(a:a/number ne '')
  </code></pre>
  <p>According to Microsoft docs (<a href="https://docs.microsoft.com/en-us/graph/query-parameters#any-operator" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/graph/query-parameters#any-operator</a>) at least how I understood it, it should return all contacts which have property 'phone' which has at least one sub-property 'number' not empty string (I tried with ne null or even some specific number e.g. ne '12345', resulting error is the same).</p>
  <p>I have the &quot;ConsistencyLevel&quot; header set to &quot;eventual&quot;.</p>
  <p>Error I'm getting is:</p>
  <pre><code>Expect simple name=value query, but observe property 'phones' of complex type 'Phone'.
  </code></pre>
  <p>Phones property is indeed an array of objects:</p>
  <pre><code>&quot;phones&quot;: [
              {
                  &quot;number&quot;: null,
                  &quot;type&quot;: &quot;businessFax&quot;
              },
              {
                  &quot;number&quot;: null,
                  &quot;type&quot;: &quot;mobile&quot;
              },
              {
                  &quot;number&quot;: null,
                  &quot;type&quot;: &quot;business&quot;
              }
          ]
  </code></pre>
  <p>So what am I missing here (I admit I am new to MS Graph and don't know all the quirks)?</p>