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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Exporting list of emails from Row Level Security Section

Hi Everyone,

 

I'm struggling trying to extract all emails added from Row Level Security section per each role. We have several emails (+2000).

You may know some trick to extract them as csv or another extension.

 

Thank you in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Anonymous,

I'd like to suggest you create dynamic RLS roles based on username, it should reduce the workload and complexly on RLS settings. Please check the blog(written by GilbertQ) that mention in the following link to help you clarify the dynamic RLS role setting.

RLS with UserName() 

Notice:

1. RLS with username does not mean you had to set the filter on usernames, it also can be work to use the current username to look up corresponding fields and apply filters if you configure on the user mapping table. (e.g. city, region, gender)

2. RLS roles also can be assigned with a group instead of manually dispatch to each user. (use security group)

3. If you only want to export the user list that accesses the content, you can check the following link:

Access to App Workspaces and list of users who have access 
Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

HI @Anonymous,

I'd like to suggest you create dynamic RLS roles based on username, it should reduce the workload and complexly on RLS settings. Please check the blog(written by GilbertQ) that mention in the following link to help you clarify the dynamic RLS role setting.

RLS with UserName() 

Notice:

1. RLS with username does not mean you had to set the filter on usernames, it also can be work to use the current username to look up corresponding fields and apply filters if you configure on the user mapping table. (e.g. city, region, gender)

2. RLS roles also can be assigned with a group instead of manually dispatch to each user. (use security group)

3. If you only want to export the user list that accesses the content, you can check the following link:

Access to App Workspaces and list of users who have access 
Regards,

Xiaoxin Sheng

GilbertQ
Super User
Super User

Hi there

 

Could you give more details around what you mean by extracting emails from Security section?





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

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

Yes, as we only see microsoft user name in RLS instead of emails, that's why I want to extract the emails from those list. I have 6 roles and in each one we have more that a thousand user added and for example:

My email could be example.other@gmail.com

but in row level security section appear like OTHER, EXAM(CITY)

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors