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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
gbrunnerbi
Advocate I
Advocate I

Embedding report with effective identity + RLS - username NULL

Hi,

 

I have the following issue with Power BI Embedded App Owns Data + service principal + RLS

 

I have followed all steps in the to-do in terms of registering an azure app, delegating permissions, enabling service principal etc.

 

I added all the required IDs to the App-Owns-Data visual studio solution web.config

 

Whenever I launch the solution though I run into various issues.

I am changing my code for RLS in the Models\embedconfig.cs

 

What I have not solved yet is amending the code for RLS with effective identity.

 

This link (https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security)

did not help since my username appears to be NULL and thus it goes to the ELSE clause ("generate embed token for report without effective identity")

 

Does anyone have an idea what the problem might be?

0 REPLIES 0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.