Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Powerbi Service: Test as role does not work properly if userprincipalname is different then e-mail.
In our company we have guest accounts, who use their own emails to login.
In AAD Email is for instance: jb@spar.dk but userprincipalname is : jb_spardk#EXT#@sdconline.onmicrosoft.com
In Security table email is jb@spar.dk , using RLS in Powerbi compares it and user has access - which is correct.
However when developer wants to test, select: test as role, then he cannot see data, unless we change security table e-mail address from jb@spar.dk to jb_spardk#EXT#@sdconline.onmicrosoft.com. But then real user cannot see data.
It's not a big bug, but it makes not possible to test RLS for Guest accounts
Best ,
Karol Dmochowski
@Anonymous
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
About external users with row-level-security, you can refer the below thread which introduces it in details:
https://community.powerbi.com/t5/Service/RLS-for-External-guest-users/m-p/2670432/highlight/true
Best Regards,
Community Support Team _ Yingjie Li