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

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: It has a

Mar 10, 2025 - 16:11
 0
Dataverse internals: where are "security roles for views" saved?

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:


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

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