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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
innocence84
Helper I
Helper I

List RLS rules in datasets

Hi,

 

I am getting list of datasets where row-level security was defined. (By using Power BI Rest API).

Now I am trying to show the RLS rules in all datasets.  

How can I achieve this?

 

Thanks all

 

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @innocence84 ,

 

Unfortunately, there is no direct API to fetch RLS rules from the datasets. You will need to manually check the RLS rules for each dataset in the Power BI Service as described above.

To show the RLS rules in all datasets, you can follow these steps:

  1. Use the Power BI REST API to get the list of datasets with RLS defined.
  2. For each dataset, access the Security menu in the Power BI Service. This menu is usually under the "..." menu of a dataset in the workspace view, related pane, or the expand/collapse quick access section of the left navigation pane.
  3. When opening the Security page, you should see roles and users and/or groups assigned to said roles.

Please note that only dataset owners can configure RLS roles on a dataset. They must be part of the workspace that hosts the dataset and have Write permissions on it.

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.