How are you attempting to view it?
A simple query example:
get-mguser -UserId <user> -Property HireDate | select HireDate
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Even after successfully provisioning the employeehiredate attribute through graph API the attribute does not appear in the properties of the user.
How are you attempting to view it?
A simple query example:
get-mguser -UserId <user> -Property HireDate | select HireDate
Hello Diya Deshika M N,
Thank you for contacting Q&A Forum.
Please note Graph API only returns part of user properties when you are using v1.0 version. You can kindly switch to beta version to query all properties:
Reference https://graph.microsoft.com/beta/users/{UserID}
Or you can also use v1.0 while selecting specific properties you need:
Some screenshots would be great.
Kindly let me know if this work for you and please let me know if you have any further questions.
If I have answered your question, please accept this answer as a token of appreciation and don't forget to give a thumbs up for "Was it helpful" and "Accept the anser"!
Best regards,
Hello Diya Deshika M N,
We understand that you are having issues to add Employee Hire date in User properties through Microsoft Graph.
We can get the User's hire date by running the below query in Microsoft Graph.
GET beta https://graph.microsoft.com/beta/users/******@domain.com?$select=displayName,employeeHireDate
Please see the below screenshot for your reference.
To update Employee Hiredate by running the below graph query
PATCH beta https://graph.microsoft.com/beta/users/******@domain.com
and in request body add the date in below format
{
"employeeHireDate": "2024-11-27"
}
Ref:
I request you to try the same as above and let us know if you have any issues.