This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello all, we are working on Embedding Power BI reports into our website for external users. We are using a Power BI embedded capacity.
Confused as to how to set up RLS since there will not be a userprincipalname for the external users.
RLS should be restricted by Customer groups filtered on Current User Login Name.
I have created a security role from a current user table that filters those customer groups:
[Login Name]= USERPRINCIPALNAME()
This is what my UI developer should use to embed?
Seems like this is not filtering for RLS.
Solved! Go to Solution.
Hi TuesdayApril
When Embedding Reports in an 'App Owns Data' scenario, Power BI does not know the USERPRINCIPALNAME() of your users, exactly as you describe.
What you can do, is to use the Username parameter during the Embedding to define a value that you are able to specify yourself and pass to Power BI, and which can be used in place of USERPRINCIPALNAME().
See the section about dynamic security in this officla docs page: Using standard cloud based row-level security with embedded content in Power BI embedded analytics -...
_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data
Hi TuesdayApril
When Embedding Reports in an 'App Owns Data' scenario, Power BI does not know the USERPRINCIPALNAME() of your users, exactly as you describe.
What you can do, is to use the Username parameter during the Embedding to define a value that you are able to specify yourself and pass to Power BI, and which can be used in place of USERPRINCIPALNAME().
See the section about dynamic security in this officla docs page: Using standard cloud based row-level security with embedded content in Power BI embedded analytics -...
_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 13 | |
| 11 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 38 | |
| 27 | |
| 25 | |
| 22 | |
| 22 |