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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
andleebRaja
Frequent Visitor

Pro RLS problem in data sharing

I have this email table.

andleebRaja_0-1672140092632.png

 


and write this dax 

Mapping =
VAR user_name = "[email protected]"
RETURN
CALCULATE(MAX('ICM_Facility'[ALFId]), FILTER('ICM_Facility', 'ICM_Facility'[email] = USERPRINCIPALNAME())  ) and then map this email table to my dataset table on the on the basis of ALFId
andleebRaja_1-1672140210423.png

 

and then define manage role againt this email id
andleebRaja_2-1672140294636.png

 

then i published this in myworkspace and add security in dataset setting
andleebRaja_3-1672140385226.png

then i shared dataset to other members. within organization its working fine . every user with their map email receive there own data. but without organization its not working. user can see data in some table and some table have empty dataset.
i also add user in azure directory. test role working fine. plz help me in this as soon as possible.. i have pro licenese account.



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

Hi , @andleebRaja 

Based on your case issue description, you seems to configure the dynamic RLS with the UPN used for the DAX expression that define the RLS roles,  the RLS tested successfully in the "Test as role" but displayed blank for the external users, right? I think the root cause for your issue reason may like this: when the external users are added to your organization as a guest user, their actual UPN that is used to access your Power BI tenant is displayed with the string "#EXT#@" in the middle like this:

vyueyunzhmsft_0-1672193531240.png

So when you added them to your RLS user table with their original UPN, you can successfully test them in the "Test as role" but it displayed blank for the external users when they actually use the UPN with the string "#EXT#@" in the middle to access your Power BI tenant, so you can try add them into the workspace as a "Viewer" role and check their specific UPN to update them in the user table and make the test again, thanks in advance!

 

For more info about the Power BI Azure B2B, please refer to this official document link:

Distribute content to external guest users with Azure AD B2B - Power BI | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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-yueyunzh-msft
Community Support
Community Support

Hi , @andleebRaja 

Based on your case issue description, you seems to configure the dynamic RLS with the UPN used for the DAX expression that define the RLS roles,  the RLS tested successfully in the "Test as role" but displayed blank for the external users, right? I think the root cause for your issue reason may like this: when the external users are added to your organization as a guest user, their actual UPN that is used to access your Power BI tenant is displayed with the string "#EXT#@" in the middle like this:

vyueyunzhmsft_0-1672193531240.png

So when you added them to your RLS user table with their original UPN, you can successfully test them in the "Test as role" but it displayed blank for the external users when they actually use the UPN with the string "#EXT#@" in the middle to access your Power BI tenant, so you can try add them into the workspace as a "Viewer" role and check their specific UPN to update them in the user table and make the test again, thanks in advance!

 

For more info about the Power BI Azure B2B, please refer to this official document link:

Distribute content to external guest users with Azure AD B2B - Power BI | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.