Announcements
No record found.
Hey Guys,
I'm working on a Model-Driven App and have multiple subareas configured in the sitemap. I’m trying to control the visibility of each subarea based on table-level privileges (like Create, Read, etc.) using security roles.
However, even when a user does not have the required privileges, the subarea is still visible in the navigation. When clicked, it shows the error:
"You do not have permission to access these records. Contact your Microsoft Dynamics 365 administrator for help."
My goal is to hide the subarea completely when the user lacks access to the underlying table—but that’s not happening. Has anyone faced this before or found a solution?
Any ideas or workarounds would be greatly appreciated. Thanks in advance!
Hi,
Thanks for your question! This is a common challenge when working with Model-Driven Apps in Dynamics 365.
Unfortunately, table-level privileges alone do not automatically hide subareas in the sitemap. The visibility of subareas is not dynamically controlled by security roles or table access—only access errors are shown when users try to open them.
Here are a few workarounds you can consider:
Use Custom JavaScript or PCF Controls: You can implement logic to dynamically hide subareas based on user roles or privileges, but this requires custom development.
Create Role-Based Apps: Instead of one app for all users, create separate apps per role with tailored sitemaps. This way, users only see what they’re supposed to access.
Conditional Access via Sitemap Designer: While limited, you can use privilege-based rules in the sitemap designer to restrict visibility based on specific entity permissions. However, this doesn’t always work as expected for all scenarios.
Feedback to Microsoft: Consider submitting this as a feature request via the Power Platform Ideas portal. Many users have requested more dynamic sitemap control based on security roles.
Hope this helps! Please mark this response as helpful if it answered your question.
Best regards!
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 174
ManoVerse 58 Super User 2026 Season 1
Niki Patel 42