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
Anonymous
Not applicable

Dynamic RLS With Distribution List

Hello,

 

I have a report which shows all the ongoing projects. Access to the report is granted to distribution lists (i.e. zzz_global_projects), not to a single e-mail address. Inside this list, there are single users' e-mail addresses.

 

What I would like to have is each user from this distribution list is able to see only his projects. One of the columns in the project is "Project Leader", based on which the dynamic RLS should be set up.

 

This is the measure I have in the RLS for role ProjectLeader:

[Project Leader] = lookupvalue(ProjectLeadersRLS[Name In The Report],ProjectLeadersRLS[E-Mail],username())

 

1. Username() returns e-mail address.

2. These e-mail addresses are mapped in the flat table with the project leader name; for example, homer.simpson@fox.com will be mapped to Homer Simpson based on the above formula. And Homer Simpson is one of the Project Leader names that appear in the column Project Leader.

 

The challenge I have is that the above solution works for single users (if the access is granted for a single e-mail address), but probably not for the distribution list.

 

Does anyone know how to solve it?

 

thanks!

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to my understanding, you want to set RLS for groups,right?

 

To my knowledge, Distribution List group, Mail-enabled-security group and Security group could be added in below dialog

1.18.4.1.PNG

You could refer to this blog for further help.

See:

Row-level security (RLS) with Power BI

Create, edit, or delete a security group in the Office 365 admin center

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to my understanding, you want to set RLS for groups,right?

 

To my knowledge, Distribution List group, Mail-enabled-security group and Security group could be added in below dialog

1.18.4.1.PNG

You could refer to this blog for further help.

See:

Row-level security (RLS) with Power BI

Create, edit, or delete a security group in the Office 365 admin center

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors
Top Kudoed Authors