Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Issues with "AAD Users" virtual table in canvas app

(0) ShareShare
ReportReport
Posted on by 31

I'm facing multiple similar issues with the default "AAD Users" virtual table in canvas app and I'm wondering if anyone tried it and found any obvious solutions that I'm missing. 
Most of the issues boil down to the fact that when collecting or setting a variable of a row from "AAD Users" it only retrieves the "DisplayName" and "AAD User id" columns and leaves the rest blank. Same goes when trying to see a property of a LookUp column directed at "AAD Users".

Examples
ClearCollect(colUsers, 'AAD Users')
(Trust me there's values behind the black boxes 😁 )

MuFeR_0-1680111635654.png

Now lets do the same with Filter.
ClearCollect(colUsers,Filter('AAD Users','Job Title' = "Development Department Manager"))

So the last row displayed in the previous image is there (you can tell it's the corect one by the aaduserid and the query matching the jobtitle) but now everything else is blank...

MuFeR_1-1680111773009.png


Another example, lets look at a gallery using a LookUp column to the "AAD Users" table.
Displaying the username, all good.

MuFeR_2-1680112152627.png

Displaying userid, all good.

MuFeR_3-1680112184302.png

 

Trying to show anything other than the displayname or aaduserid doesn't return any results.

MuFeR_6-1680112458063.png

While if you do a LookUp directly to the virtual table the values of all other columns show up.

MuFeR_7-1680112546184.png

And again doing the same thing with a variable returns everything as blank.

MuFeR_9-1680112634560.png

 

MuFeR_8-1680112628763.png


This is very frustrating and loses many of the functionalities a person column has in sharepoint. For example if I want to display the the Company of all the "Responsible Users" in my example above i'd have to put a label with 
Office365Users.UserProfileV2(ThisItem.'Responsible User'.'AAD user id').companyName
which heavily impacts performance while normally it should be just 
ThisItem.'Responsible User'.'.Company Name'

Similarly I can't use filter queries in galleries to hide rows based on company/department since that info always appears as blank.
I hope there's something very obvious I'm missing here otherwise it seems that this virtual table functions properly mostly on ModelDriven apps.

  • lovishsood1 Profile Picture
    109 on at
    Re: Issues with "AAD Users" virtual table in canvas app

    Can you please tell how you created your own AAD Users table using Power Automate and Office 365 actions?

    Can you guide with the connectors and steps?

  • MuFeR Profile Picture
    31 on at
    Re: Issues with "AAD Users" virtual table in canvas app

    I actually thought of this and gave it a test but it takes about 1second to get the user info using an O365 action and creating a new row in a custom dataverse table. Seeing how we work with tens of thousand of users in the tenant it would take many hours for this flow to run, if it even managed to as I expect throttling to kick in and the actions would take more time than 1 second/user since after the first run it would need to find the alredy existing row and update it instead of simply creating a new one.

  • 365-Assist Profile Picture
    2,312 Super User 2025 Season 1 on at
    Re: Issues with "AAD Users" virtual table in canvas app

    I also find the AAD Users table very frustrating. I haven't come across your particular issue. However at times I have had to give up on the AAD Table and build my own AAD User table using Power Automate and the Office 365 Actions. I know its not as effective or efficient but I have much better control over the data.

     

    ---------------------------------------------------
    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

    Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
    Twitter: https://twitter.com/assist_365

    Regards
    Darren Lutchner - 365 Assist

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics