Forum Discussion
AndrzejRusin
3 years agoRegular Visitor
Power BI embedded report - USERNAME() function returns service principal id instead of username
Hi, We have developed a .Net web application where we embed Power BI reports in the App-Owns-Data scenario, ie. with the use of service principal. With each request to view a report the embedToken ...
AmosHersch
3 years agoMicrosoft Employee
Hi,
There was a general issue in recent 2 weeks related to embedding reports with composite models (with DirectQuery to Power BI dataset). I don't know if the issue you encountered is from the same reason, but AFAIK that issue was resolved by Power BI so maybe you can try testing your scenario again.
AndrzejRusin
3 years agoRegular Visitor
Hi AmosHersch
Thanks for information. The issue currently still exists on our side, so I think it might have been something else.