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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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