Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
AmiraBedh
Resident Rockstar
Resident Rockstar

Exporting Power BI Row-Level Security Details by Workspace

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 : 

  • The workspace name 
  • The semantic model name
  • The role name
  • The role member email
  • The role filter expression

Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
4 REPLIES 4
lbendlin
Super User
Super User

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 ?


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

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.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.