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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
powerbi1990
Frequent Visitor

Power BI Report Server Embedding URL with iFrame and avoiding the authentication popup

Hi,

I have an on-premise Power BI Report Server.

I want to Embed certain reports to my webapp. From the documentation I have understood that it's only possible via iFrame tag. But when I try to access it from my webapp, it pops up an authentication box asking for credentials. 

 

Is there any way to silently pass credentials and avoid the popup?

I tried to workaround this by first making an authenticated REST API call, and then enabling the the iframe div so that it takes the session from the successful REST API call prior. But it still shows the popup.

 

Immediate Help is highly appreciated.

 

4 REPLIES 4
cyclist007
Responsive Resident
Responsive Resident

Hi, Did you find a solution to this? Is there a better way to embed PBIRS reports in 2023?

d_gosbell
Super User
Super User


@powerbi1990 wrote:

Is there any way to silently pass credentials and avoid the popup?



It should work this way by default. Are your web server and PBIRS server joined to the same domain? Are your users also logged in to this domain?

The report server is installed on-premise on a separate domain. Webapp is hosted in separate domain. Webapp stores the report server credentials, and is able to call the report server REST APIs perfectly via ntlm/windows basic authentication. But when I try to embed any report in one of the pages of my webapp, it gives a popup asking to enter the credentials. I would like to do that silently, as my webapp already knows the creds.


@powerbi1990 wrote:

 But when I try to embed any report in one of the pages of my webapp, it gives a popup asking to enter the credentials. I would like to do that silently, as my webapp already knows the creds.


Yes, because if you use an iframe then the report server has to do it's own authentication. I'm not aware of any way that you can pass credentials into an iframe. This is more of a web developer topic than something specific to report server

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.