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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.