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

test role rls guest user

Hi, 

 

I am trying to test role rls for guest users and nothing happens in test as role.
Is it correct that it is not possible to test rls for guest users???

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

Hi  @,

Guest user: abc@domainName.com

Whether the value in the table is abc_domainName.com#EXT#@ourOrganization.onmicrosoft.com data.

abc@domainName.com , only data that belongs to the rows fully matched with this value will be displayed for him,  If there is a row whose value is abc_domainName.com#EXT#@ourOrganization.onmicrosoft.com, it won’t be displayed for the user  abc@domainName.com

So, guest users email for abc@domainName.com, not abc_domainName.com #EXT#@ourOrganization.onmicrosoft.com then you could take it as UPN.

 

Best Regards,

Liu Yang

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

4 REPLIES 4
v-yangliu-msft
Community Support
Community Support

Hi  @,

Guest user: abc@domainName.com

Whether the value in the table is abc_domainName.com#EXT#@ourOrganization.onmicrosoft.com data.

abc@domainName.com , only data that belongs to the rows fully matched with this value will be displayed for him,  If there is a row whose value is abc_domainName.com#EXT#@ourOrganization.onmicrosoft.com, it won’t be displayed for the user  abc@domainName.com

So, guest users email for abc@domainName.com, not abc_domainName.com #EXT#@ourOrganization.onmicrosoft.com then you could take it as UPN.

 

Best Regards,

Liu Yang

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

AnkitKukreja
Super User
Super User

Hi! @Anonymous 

 

To test the RLS role you need to use the same ID that is being used by the guest user to log in. I haven't tested it that way but I expect it should work.

Or you can use this approach https://docs.microsoft.com/en-us/power-bi/guidance/whitepaper-azure-b2b-power-bi

 

If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.
Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
Anonymous
Not applicable

I guess/hoping that using normal email works fine RLS eventhough its not possible to test it?

How did you set the RLS up and how did you test it?

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