Function select doesn't work.
Toroidal Persik
0
Reputation points
Hello.
Asked earlier https://learn.microsoft.com/en-us/answers/questions/1167433/why-does-select-not-work-on-post-https-graph-micro, 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" \
https://graph.microsoft.com/v1.0/users?$select=displayName,givenName,Department,EmployeeID
Received "standard" answer like:
{
"businessPhones": [],
"displayName": "XXXXXXXXXXXXXX",
"givenName": "XXXXXXXXXXXXX",
"jobTitle": null,
"mail": "XXXXXXXXXXXXXXXXXXXXX",
"mobilePhone": null,
"officeLocation": null,
"preferredLanguage": "en-US",
"surname": "XXXXXXXXXXXX",
"userPrincipalName": "XXXXXXXXXXXXXXXXXX",
"id": "XXXXXXXXXXXXXXXXXXX"
}
No errors at all. Added credentials:
Well, what I did wrong?
Sign in to answer