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 Pages / How can we filter reco...
Power Pages
Answered

How can we filter record on portal based on logged in user?

(0) ShareShare
ReportReport
Posted on by 7

Dear Folks,

I need your help on Power App Portal.
I have created a power app portal from a blank with the background is CDS, in CDS I have created one custom entity with 10 records.
Now, I have 2 user one is admin and another is CDS user.
I have created entity list and added entity list to the web form, now I wanted to show all list records to admin but not to the CDS user on portal. (i.e. the CDS user will only be able to see his own record).
So how can we filter records based on logged in user?

Thanks in advance..!

@nhayduk , @OliverRodrigues , @Ashish2012 

Categories:
I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    hi, yes you can achieve that using two entity permission records: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/assign-entity-permissions

    1 entity permission (admin) - set to global and associate the Admin web role 

    2 entity permission (authenticated users) - set to contact and associate your contact lookup permissions01.PNG

    make sure to check your entity list for "Enable Entity Permissions" 

    with the above settings the admin would see everything, the authenticated only records associated to their own user (Contact).. and anonymous user won't be able to see any data

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • CRMadmin45 Profile Picture
    7 on at

    Hi,
    As refereed to your solution, I have created the two entity permission records please find attached snip.
    also, I have enabled the entity permission on the entity list and added the web role to the entity permission but still,
    it is not working.

    Thanks..! 


    @OliverRodrigues 

    Active Entity Permission.PNG
    Enable Entity Permission.PNG
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    your setup looks pretty much the same as mine 

    did you clear the cache? 

    did you associate the web roles to your entity permissions?

    what's the behavior in your portal? are you able to view all the records? no records? only own records?

  • CRMadmin45 Profile Picture
    7 on at

    Hi,
    Just now, cleared the cache and It works.

     

    Thanks a lot, Cheers..!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 33

#2
sannavajjala87 Profile Picture

sannavajjala87 28 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 22 Super User 2026 Season 2

Last 30 days Overall leaderboard