Hi,
Can you try in the Microsoft Graph below query and this contains hire date but I dont see Birth Date as an attribute.
==
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
Using the API, we want to fetch employees data (specifically, Birth Date and Date of Joining) under a specific org/manager for an internal project.
Can you please help us with the API that we can use for this ?
Thanks,
Sneh
Hi,
Can you try in the Microsoft Graph below query and this contains hire date but I dont see Birth Date as an attribute.
==
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
You may need multiple api calls. First list all employees under a specific manager, then get birthday and join time based on employee's user id.
GET https://graph.microsoft.com/v1.0/{manager user id}/directReports
GET https://graph.microsoft.com/v1.0/users/{employee user id}?$select=birthday,createdDateTime,employeeHireDate
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.