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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How can I reference AA...
Power Apps
Answered

How can I reference AAD User fields from another table?

(1) ShareShare
ReportReport
Posted on by 87

Hi 

I have a table called "User Details". It contains a lookup column to "AAD Users" table. In a view for "User Details" I try to display the AAD User "Mail" and "Fullname" columns, but as soon as I add these columns to the view the records I had added via import to "User Details" table disappear in view. 

Can you help?

Thanks.

John. 

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @johnguilbert191 

    First of all, sorry for the delayed response here...  You are trying to add related fields from the AAD Users virtual table to the custom "User Details" table view you have and what happens?  Is this the situation?   Any more details you can provide and I would love to help you through this...

  • CU17011032-0 Profile Picture
    87 on at

    Hi Drew.

    So I have an "Asset" Table that has a look up column called "Owner ID". This lookup column looks at the table "User Details". "User Details" table contains a lookup column "User" to "AAD Users" (Internal) - this field is called "User". 

    There is data in the Assets Table. When I create a view on "Assets" table with "Owner ID" added (see screen shot 1) the data is shown correctly. However, I want to add the "User Details" column "User" to this view, but as soon as I do all records disappear. (Screen shot 2). I this an AAD user table issue or relationship issue?

    Can you help?

    Thanks.

    John. 

    Screen shot 2.PNG
    Screen shot 1.PNG
  • Verified answer
    CU17011032-0 Profile Picture
    87 on at

    OK. Looks like none of the "Super Users" understand the issue here - this is my assumption based on how long this one has been left. So here is a response I have had from one support company which might help someone out there. If anyone from Microsoft can concur it would be really appreciated. I won't be marking as solution, because it isn't it's an explanation - which could be right or wrong.

    1. When you list the records directly from the AAD Users table, CRM runs a HTTP GET against the external table, making all the data visible, but doesn't store anything on the table schema.

    2. When you create a relationship with a virtual table, dynamics actually creates two fields, the id and name. So, if you associate a record with a virtual entity record, just those fields are stored in the "normal" entity.

    3. Dynamics doesn't allow us to build queries with related virtual entities nor display data of related virtual entities because it doesn't execute the get in the "normal" table context.

    So final explanation stated there is no way to achieve what I want. Crap. Honestly. This is just a table relationship. No wonder so few people are using Model Driven Apps. Low Code, No Code, No Flexibility, No choice.......stick with C# and Azure App Services. Model Driven Apps are same as "Lightswitch" (over a decade ago) from the good ol'days, but with less flexibility. 

    Thanks.

    John.    

     

      

  • lmd-be Profile Picture
    8 on at

    This is one of the reasons why I'm still not convinced about Model-driven apps and Dataverse

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard