Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

How to get the current employee HireDate from AD?

(0) ShareShare
ReportReport
Posted on by 521

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!
  • VictorIvanidze Profile Picture
    12,536 on at
    Re: How to get the current employee HireDate from AD?

    The GRAPH request

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

    returns 

    ...
    "employeeHireDate": null,
    ...
  • Tjan Profile Picture
    1,087 Super User 2025 Season 1 on at
    Re: How to get the current employee HireDate from AD?

    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.

  • EmilioRoqueta69 Profile Picture
    521 on at
    Re: How to get the current employee HireDate from AD?

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

  • Mister_Shaik Profile Picture
    1,006 on at
    Re: How to get the current employee HireDate from AD?

    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

  • Tjan Profile Picture
    1,087 Super User 2025 Season 1 on at
    Re: How to get the current employee HireDate from AD?

    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.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1