I never use Microsoft graph. I just want to query to just pull a selection of users by supervisor using Microsoft graph
-
Do you want to use graph from PowerShell, C#, or SPFx?– Denis MolodtsovJan 7, 2020 at 18:00
-
SPFx, our goal is we need to pull data from delve , like department, full name, job title , Supervisor.. and filer as well .– MathewJan 8, 2020 at 17:21
1 Answer
Documentation for the GET /users is here.
You can "play" with the Graph API using the Graph Explorer.
You can use the odata filter to get users whose manager
property equal a certain value. Or alternatively, you can get the single user object for the supervisor, then use that user object's directReports
property to find the users that report to them.