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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Need to show different entity list on web page based on user web role

(0) ShareShare
ReportReport
Posted on by 15

Hi,

I also have a similar requirement. I have two entity lists(Manager records, and employee records).
I have two web roles(Manager, Employee). Now I need to show the entity list based on the web role. If logged in user web role is Manager, then I need to show the manager records list and if the web role is employee, I need to show the employee records list

I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Partner,

    You can achieve above scenario by setting up proper web Role and Entity permission in the CRM for Portal User.

    Setting up Entity permissions links a specific CDS entity to a web role.

    On the entity permission record you can specify the scope and permissions, which will allow you to secure CDS data on the portal.

    For more details refer to below links:

    https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/assign-entity-permissions 

    https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/create-web-roles 

    Or you can try to write code to hide/show entity list based on user's web role:

    https://www.youtube.com/watch?v=NEvVhzExPU4 

  • Suggested answer
    Mohamed GRAIB Profile Picture
    2,504 Moderator on at

    Hi,

    You can configure this with web roles and entity permissions

    You can follow this link

    learn.microsoft.com/.../assign-entity-permissions

    Please mark the answer as verified if that's helpful for you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
NeerajPawar Profile Picture

NeerajPawar 31

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 21 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans