Hi (i'm new to this so you'll need to forgive me),
I'm trying to use Microsoft Graph API to retrieve some user attributes from active directory.
I'm conducting some testing on Microsoft graph explorer but i'm not entirely sure how to retrive a specific attribute called employeeID (which is needed). I've found out how to retrive some of the other basic information i need using the following:
https://graph.microsoft.com/v1.0/me
Which returns:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users/$entity",
"id": "6df92a63-2bef-477c-8c84-bf1113d5bd3e",
"businessPhones": [],
"displayName": "SmithB",
"givenName": "bob",
"jobTitle": null,
"mail": "example@example.com",
"mobilePhone": null,
"officeLocation": null,
"preferredLanguage": null,
"surname": "smith",
"userPrincipalName": "example@example.com"
}
However, i'm at a loss beyond this point. The docs seem to mention something about using $select
but it seems to be more for refining a query rather than finding a specific attribute.
I'm sure there is a fairly simple solution and would appreciate if someone could point me in the right direction for how to query a specific attribute.