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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
nattanarcilla
Frequent Visitor

Filter list of Datasets which are using RLS

Is there a way to possibly filter the list of datasets in power bi service which are using RLS? Most of the reports I have are published in a single workspace, so checking the dataset if it has RLS in placed is a bit tricky because I have to check the security setting of each individual dataset.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

That is a  great question.  Not sure if the new scanner API supports that but you can do this manually by running a couple of DMV queries against all datasets that you have access to:

 

 

select * from $SYSTEM.TMSCHEMA_ROLES
select * from $SYSTEM.TMSCHEMA_TABLE_PERMISSIONS

 

 

If this returns results then the dataset has RLS.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

That is a  great question.  Not sure if the new scanner API supports that but you can do this manually by running a couple of DMV queries against all datasets that you have access to:

 

 

select * from $SYSTEM.TMSCHEMA_ROLES
select * from $SYSTEM.TMSCHEMA_TABLE_PERMISSIONS

 

 

If this returns results then the dataset has RLS.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors