web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to get the current...
Power Automate
Unanswered

How to get the current employee HireDate from AD?

(0) ShareShare
ReportReport
Posted on by 565

Hi there,

 

I tested this formula in PowerApsp, but the result is wrong 1/1/1...

 

Office365Users.UserProfileV2(User().Email).hireDate
 
How can I connect with the employee AD data using the email or something?
 
Thanks for any help!
Categories:
I have the same question (0)
  • CU05111601-0 Profile Picture
    1,091 Super User 2024 Season 2 on at

    Hi @EmilioRoqueta69  I think there's nothing wrong with your formula! It might be because the hireDate was never logged when the user was created in Entra. You can check this via the Azure portal > Microsoft Entra ID > Users > Add column 'Employee Hire date'. When doing this you can exactly check whether there is a correct hire date logged. 

     

    I also checked on my side and all the values were blank. Therefore PowerApps always provide me with 1/1/1 when using the .hireDate.

  • Mister_Shaik Profile Picture
    1,008 on at

    Hi @EmilioRoqueta69 ,

     

    Assuming that the employees are not contractors who are not hired after working for some time with the company, the "Created date time" might serve the same meaning as Hire date.

     

    Unless specifically synced by the respective HR systems, I don't believe the Azure Entra/AD would contain any info for Hire date.

     

    Hope this helps!

     

    Kind Regards,

    Shaik Sha

  • EmilioRoqueta69 Profile Picture
    565 on at

    Ok, and how can I get this value in power automate?

  • CU05111601-0 Profile Picture
    1,091 Super User 2024 Season 2 on at

    Do you mean Power Automate or PowerApps? Since you mentioned a PowerApps formula in your initial post. I know in PowerApps, there's is no such attribute for Created date (Office365Users.UserProfileV2(User().Email).Created) doesn't exist.

  • VictorIvanidze Profile Picture
    13,073 on at

    The GRAPH request

    https://graph.microsoft.com/beta/users/{userID}

    returns 

    ...
    "employeeHireDate": null,
    ...

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard