Function select doesn't work.

Toroidal Persik 0 Reputation points


Asked earlier, recreated my question here.

So, I able to get token, then ask:

curl -s -X GET \
    -H "Authorization: Bearer $MYBEARER" \
    -H "Content-Type: application/json" \$select=displayName,givenName,Department,EmployeeID

Received "standard" answer like:

      "businessPhones": [],
      "displayName": "XXXXXXXXXXXXXX",
      "givenName": "XXXXXXXXXXXXX",
      "jobTitle": null,
      "mobilePhone": null,
      "officeLocation": null,
      "preferredLanguage": "en-US",
      "surname": "XXXXXXXXXXXX",
      "userPrincipalName": "XXXXXXXXXXXXXXXXXX",

No errors at all. Added credentials:

enter image description here

Well, what I did wrong?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,094 questions
{count} votes