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 Apps / retrieving employeeId ...
Power Apps
Unanswered

retrieving employeeId attribute Powerapps

(0) ShareShare
ReportReport
Posted on by 15

Hi all, I have tried to retrieve the employeeId value, however, the value return form the below formula is hash value.

Formula:

First (
Office365Users.SearchUser(
 {searchTerm: <<Some Value>>}
 ).Id
).Id


ID Value: 

4a9e5d6d-53df-47a6-86ee-da73756dfc4f

 

Categories:
I have the same question (0)
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Hi,

    Does this help?

    https://powerusers.microsoft.com/t5/Building-Power-Apps-Formerly/Unable-to-get-EmployeeID/m-p/117080/highlight/true#M41663

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

    Hardit(Haman)
  • MustafaAlqanbar Profile Picture
    15 on at

    I'm using Combo Box, However, It's still not working, as it is still displaying the hashed value instead of the employeeId value.

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Sorry I got injured yesterday. Will respond soon.
  • v-monli-msft Profile Picture
    on at

    Hi @MustafaAlqanbar ,

     

    Have you tested with below formula in the Items property of the combo box control?

    Office365Users.SearchUser({searchTerm:"xxx"}).Id

     

    My combo box control displays correctly with the user Id like this:

    Capture.JPG

     

    What is the hashed value that you are referring to?

     

    Regards,

    Mona

  • MustafaAlqanbar Profile Picture
    15 on at

    The EmployeeId attribute on active directory contain digits only    

  • Verified answer
    v-monli-msft Profile Picture
    on at

    Hi @MustafaAlqanbar ,

     

    If you want the dropdown control to show the id with digits only, please use below formula instead:

    Substitute(Office365Users.SearchUser({searchTerm:"xxx"}).Id,"-","")

     

    Regards,

    Mona 

  • MH3 Profile Picture
    1,057 on at

    Hi @MustafaAlqanbar  @v-monli-msft  @PowerAddict 

    I want to get the user's ID which is in 5 Digit only your formula displays a long Hexadecimal value, any idea how to get the exact same EmployeeID?

  • Community Power Platform Member Profile Picture
    on at

    Just store all the info in the list and then update it using this flow.

    AndreiTC_1-1620246454331.png

     

     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard