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
avishek287
Regular Visitor

Dynamic Row Level Security

Currently RLS Implemented and Page level Security Implemented by Maintaining 3 Tables (Basis User Type) in Power BI Layer. So when ever New User is to added/removed, I amk making changes in pbix file's tables --> Republishing --> Adding Users in service Account -->refreshing it in service.

It involved multiple steps actually which now end customer doesn't like.

So now i am actually checking some alternate options where Users Access can be enabled/desabled in one Click only from Power BI Service account.

 

Pls help someone on this, how can this be achieved?

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @avishek287 ,

 

If you have the email account on the user table then you can just use the USERPRINCIPALNAME on your RLS without the need to add the uses manually on the service account.

 

https://www.youtube.com/watch?v=jphj40tBPD8


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @avishek287 ,

 

If you have the email account on the user table then you can just use the USERPRINCIPALNAME on your RLS without the need to add the uses manually on the service account.

 

https://www.youtube.com/watch?v=jphj40tBPD8


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.