title: Getting extension properties using Azure AD B2C Graph API does not work
body: <p>I am attempting to discover which extension properties I have available to my application. I originally followed this guide to get the extension attributes:</p>
  
  <p><a href="https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-devquickstarts-graph-dotnet/#use-custom-attributes" rel="nofollow noreferrer">https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-devquickstarts-graph-dotnet/#use-custom-attributes</a></p>
  
  <p>But that just returns the following JSON:</p>
  
  <pre><code>{
    "odata.metadata": "https://graph.windows.net/screenmediatestb2c.onmicrosoft.com/$metadata#directoryObjects/Microsoft.DirectoryServices.ExtensionProperty",
    "value": []
  }
  </code></pre>
  
  <p>I have also attempted to do this with regular HTTP requests using Postman, but with the exact same result. I can authenticate and load applications, users, groups etc. But it doesn't return any of my custom attributes, of which I have 2.</p>
  
  <p>The endpoint I am using is:</p>
  
  <p><a href="https://graph.windows.net/[tenant]/applications/[application" rel="nofollow noreferrer">https://graph.windows.net/[tenant]/applications/[application</a> object ID]/extensionProperties?api-version=1.6</p>
  
  <p>Does anyone have any idea what I am doing wrong?</p>