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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Error in test as Role RLS Power BI Service

Hello,

For last few weeks, I have been getting an error in Power BI service when I try to use the Test as Role.

It works fine for internal (same domain users) but it shows no data for all external users.

Also note that All externals users are also added in AAD.

I have verified that RLS is setup properly. RLS uses USERPRINCIPALNAME().

 

Also, how does 'Test as Role' option differ in PBI service & PBI Desktop? Does PBI Desktop also fetch UPN from AAD?

Any help is greatly appreciated.

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 
Any updates on this? I issue still persists.

Anonymous
Not applicable

Hi @Anonymous ,

 

You would first need to add the external user as part of your AAD, and then assign them access to your dataset, by going into the dataset settings and then clicking on Security.

Here are more details on how to do this. Scroll down to the section, which will explain how to achieve this.

https://docs.microsoft.com/en-us/power-bi/guidance/whitepaper-azure-b2b-power-bi#data-security-for-external-partners 

 

Best Regards,

Jay

Anonymous
Not applicable

Hello,

Thanks for your reply. I have followed the same steps as mentioned in the same chronological order. Still the issue persists. I am able to add in dataset/Security means user was correctly added in AAD too.

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors