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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.