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

How to apply RLS without a role

Hi everyone,

 

My question is very simple. I want to secure my Power BI using the userprincipalname() function in Power BI, which has always worked well for me. The problem is that it's not practical to manually maintain a list of emails in the service to which security is applied, as this list can change daily. Is there a way to secure without needing to add all the emails to a role? Perhaps it's possible to have all users default to a role? If this isn't possible, is there a way to add emails to the role's list via API?

 

Just so you understand me, what I want to avoid its to manually define the email list here, I want it to be automatic/dynamic:

 

rodrigo_callejo_0-1714725055192.png

 

Thank you!

 

1 ACCEPTED SOLUTION
arvindsingh802
Super User
Super User

I would suggest to use groupd rather than adding email one by one
Usually each org has a groups having all emaployee added to it, I would suggest connect with your IT team and use that group to remove your manual overhead


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

View solution in original post

2 REPLIES 2
rodrigo_callejo
Regular Visitor

Thanks for the reply @arvindsingh802 so if I I use an email group that should do the trick... I'll give it a try the next week and I'll post here the results. Thanks a lot!

arvindsingh802
Super User
Super User

I would suggest to use groupd rather than adding email one by one
Usually each org has a groups having all emaployee added to it, I would suggest connect with your IT team and use that group to remove your manual overhead


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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