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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.