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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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