Dataverse internals: where are "security roles for views" saved?
Riccardo Gregori

Riccardo Gregori @_neronotte

About: Microsoft MVP 📐 Power Platform Architect 📐 | 👨🏻‍💻 Master Ninja Developer 👨🏻‍💻 | 🤖 Pro Code Avenger 🤖

Location:
Milano, Italia
Joined:
May 27, 2024

Dataverse internals: where are "security roles for views" saved?

Publish Date: Mar 10
0 0

In Power Platform 2025 release wave 1 our dear Microsoft dropped a new (preview) feature that allows user to manage access to public system views by security role.

Following up on my previous post Dataverse internals: where are "security roles for form" saved?, I started looking on where and how the actual view-role assignment is saved.

✅ The solution: savedquery roledisplayconditionsxml column!

On the savedquery table there is a new column of type string called roledisplayconditionsxml.

This column, when filled, contains an XML fragment that looks like this:

<DisplayConditions>
    <Role Id="{979144C2-989B-41A5-A146-6B3EA4130E8C}"/>
    <Role Id="{B9B08637-ACF6-E711-A95A-000D3A11F5EE}"/>
    <Role Id="{AB8B8C58-1F50-4037-8B26-7523D6145CC3}"/>
</DisplayConditions>
Enter fullscreen mode Exit fullscreen mode

It has a <Role node for each role allowed to access the view. The structure is identical to the one found into formxml in my previous article.

Comments 0 total

    Add comment