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
Anonymous
Not applicable

on-premesis power bi report server: calling rest api using windows credentials from within web app

I have a C# web app deployed on IIS running with windows authentication. It has an application pool with a certain account. The web app is required to retrieve and display a list of the reports that the logged in user has access to from the power bi server using the rest api. Basically, this is the rest api url we are using: http://PowerBIReportServer/api/v2.0/PowerBIReports

 

The problem is that the rest api call is retrieving the list of reports that the application pool account has access to and not the list of reports that the logged in user has access to. I know we can request the user to enter his credentials and pass them in the rest api call but we should not require the user to enter his login credentials anywhere in the web app since it is a authenticated through windows authentication. Can anyone please explain to me how to send the identity of the user in the rest api call without sending the user's credentials?

0 REPLIES 0

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.