Reputation: 11
Hello and thanks in advance I'm new to MS Graph and need to retrieve Job Information in particular the Employee ID from our Azure AD. See Image. Im not sure what the GET statement would be. I will be using the query in Power Automate. Desc of AZ Fields
Upvotes: 1
Views: 4090
Reputation: 1067
By default, Microsoft Graph only returns a limited set of properties.
But you can use the $select
to get other data:
https://graph.microsoft.com/v1.0/me?$select=employeeId,department,jobTitle
Upvotes: 1
Reputation: 2447
In Ms Graph you can find the Job Information of a user by jobtitle
property.
For example,
https://graph.microsoft.com/v1.0/users/{users UPN or object id}
Also, You can use filter
query to retrieve an Azure Ad user with particular job title.
For example,
https://graph.microsoft.com/v1.0/users?$filter=(jobtitle eq 'Sr Prog/Anal')
Upvotes: 0