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 / LookUp AAD User AKA Mi...
Power Apps
Unanswered

LookUp AAD User AKA Microsoft entra identity table to auto fill with current user

(0) ShareShare
ReportReport
Posted on by 431

Hello Power Users,

 

I have a column created inside a data verse table a look up column from AAD User table. When I had it on power apps wanted to have that column value to auto fill with current logged in user details initially (Displayname) and can be editable to look up for any other user.

 

I came until "LookUp('AAD User',Mail = User().Email).Displayname" but throws an error "Expected record value".

 

Can anyone please help!

 

Thank you so much in advance 🙂

I have the same question (0)
  • ivan_apps Profile Picture
    2,187 Moderator on at

    It’s telling you that you need a record object, and you defined the display name (string). Simply remove the .Displayname and you have an object. There are other config properties to tell it what value within the object to display to the user.

  • KrishR Profile Picture
    431 on at

    Hi @ivan_apps ,

     

    Thanks for the quick jump in. I believe I'm missing something. Can you please help me with the right format/Syntax.

     

    Where do I need to update the syntax? on Defaults or DefaultSelectedItems?

     

    When I added "LookUp(AAD User,Mail = User().Email)". I can see the record values in the dropdown 

     

    Name                                                       Value

    displayname                                        aa-krish(example)

    givenname                                             AA

    mail                                                     aa-krish@onmicorosoft.com

     

    There are other name items like imaddresses, jobtitle, mobilephone.

     

    Thank you so much again.

     

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard