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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.