title: Returning employeeId of a user through MS Graph API
body: <p>I've been trying to return the employeeId of a user through the Microsoft Graph API but so far haven't had much luck.</p>
  
  <p>I'm assuming this is probably because it doesn't exist in the metadata for the user in the Graph API so makes sense.</p>
  
  <p>However, the property is populated in Azure AD. If I use the AZ command prompt to query the user I can see the property. Likewise, if I query the old Active Directory Graph API endpoint I can even see it there.</p>
  
  <p>For example, querying
  <a href="https://graph.windows.net/" rel="nofollow noreferrer">https://graph.windows.net/</a>{tennant}/users/{upn}?api-version=1.6 directly I receive the employeeId as part of the response (using the ActiveDirectoryClient however seems to ignore this property and doesn't store it anywhere).</p>
  
  <p>Is there any reason for this? Wouldn't it make sense to have it returned as an additional property? I've also looked into extensions, but as it's not an extension isn't returned there.</p>
  
  <p>Any help would be appreciated. I can get the information I need by querying the old endpoint directly, but this seems like a complete backwards step and involves multiple queries to get the information I need - including having to use multiple end points (one of which I assume will be deprecated and removed soon).</p>