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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Jimbo90
New Member

Rest APi to modify groups for RLS

Hi

I have a on-Prem Power BI report server where I upload pbix dashboards to. I am using row level security on a number of dashboards where i have defined groups that I manually assign users to. I would like to be able to assign users dynamically using REST APIs like Add Group User (https://docs.microsoft.com/en-us/rest/api/power-bi/groups/add-group-user)

 

 

I was wondering if this is possible on a on premise report server where we upload the pbix files to?

 

Will it only work for Power BI premium (Service) where I define workspaces, datasets and reports?

  •  

Is there any way to achieve this using APIs or via code?

 

 

 

Thanks

 

Jim

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Outsource this to AD.  In your RLS roles specify AD groups, not users.  Then maintain group membership in your AD management tool.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Outsource this to AD.  In your RLS roles specify AD groups, not users.  Then maintain group membership in your AD management tool.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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