title: MS Graph Angular search for user by name
body: <p>In my Angular App, there should be an option to search for users within the organization.
  The application itself is protected by MSAL library, and the access token is added to all Request Headers by MsalInterceptor.</p>
  <p>Now I want to search for Users, who starts with 'Joh' by HttpClientModule:</p>
  <pre><code>this.http.get(`https://graph.microsoft.com/v1.0/users?$filter=startswith(displayName,'Joh')`, { headers: { ConsistencyLevel: 'eventual' } }).subscribe((response: any) =&gt; {
    console.log(response);
  });
  </code></pre>
  <p>Like described here: <a href="https://docs.microsoft.com/de-de/graph/api/user-list?view=graph-rest-1.0&amp;tabs=http#code-try-15" rel="nofollow noreferrer">https://docs.microsoft.com/de-de/graph/api/user-list?view=graph-rest-1.0&amp;tabs=http#code-try-15</a></p>
  <p>Unfortunately, I'm facing the following error:</p>
  <blockquote>
  <p>&quot;The query specified in the URI is not valid. Could not find a
  property named 'displayName' on type
  'Microsoft.Fast.Profile.Web.Models._1._0.Profile'.&quot;</p>
  </blockquote>
  <p>What I'm doing wrong?</p>