Skip to content

Instantly share code, notes, and snippets.

@bfrancom
Last active March 7, 2023 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bfrancom/b0dea959dca1580317aa737b32af7fa1 to your computer and use it in GitHub Desktop.
Save bfrancom/b0dea959dca1580317aa737b32af7fa1 to your computer and use it in GitHub Desktop.
Get direct reports of manager from Microsoft Graph API filtered by name and email.
#Get users under a manager using MS graph query. Uses select filter for displayName and email address
#Use this query in https://developer.microsoft.com/en-us/graph/graph-explorer
https://graph.microsoft.com/v1.0/me/directReports?$select=displayName,mail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment