The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Is there a way to export the RLS configured on semantic models by workspace?
I only found this tutorial : https://www.fourmoo.com/2022/06/22/how-to-get-power-bi-row-level-security-rls-role-users-details-and... and it is not giving many details and what I understood from it, the RLS is configured in SSAS.
I have 2 situations :
- my semantic model having a source a SQL Server table
- my semantic model having a source an Azure database
I want to get a list :
Use the dedicated DMV queries for that
@lbendlin I assume you are refering to this :
https://learn.microsoft.com/en-us/analysis-services/instances/use-dynamic-management-views-dmvs-to-m...
But in this case my datasets are connected (Live Query) to Azure SQL database/SQL Server.
In this case, how dedicated DMV can help ?
You said RLS and Semantic Model. You did not mention anything Azure SQL.
select * from $SYSTEM.TMSCHEMA_ROLES
select * from $SYSTEM.TMSCHEMA_ROLE_MEMBERSHIPS
I just updated the question.
I will gather more information about the need and get back to you.