While playing around cards for Power Apps, I noted that the User Power Fx function that is used in Canvas Apps to detect the current user and get some information about it is not supported.
After some investigation, I found that Cards use a new object called Viewer instead.
How to use the Viewer Object
The viewer object has 3 properties that potentially we could use to filter data by the Current User :
Filtering data by the display name can be messy as there could be two people with the same name in the tenant, so going with the aadObjectId would be the most precise way.
Filtering Data
Let’s say you wanted to filter all items…