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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
oliviernicollet
Frequent Visitor

Power BI Report Server with custom security using row level security

Hello,

 

  I tryed the sample custom security https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample. This works fine except the user i get from DAX is NT SERVICE\PowerBiReportServer and not user from database. This make it impossible to use Row Level Security with USERPRINCIPALNAME() or USERNAME().

 

  Is there any solution to get the user of custom security in report?

 

Capture.PNG

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi, I implemented Custom Security with  https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample. But once I logged in with admin User, not able to upload any report. It is giving me error mentioned below . 

BinduY_0-1717054914054.png

 

But with windows authentication, i am able to upload report.. Can you please help me resolve this issue

 

oliviernicollet
Frequent Visitor

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.