Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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.
Hi @Anonymous
Any updates on this? I issue still persists.
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.
Best Regards,
Jay
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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 32 | |
| 27 | |
| 19 | |
| 18 | |
| 18 |