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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Deiva
Frequent Visitor

Embed Power BI Paginated Report from Power BI Report Server (On Premise) in ASP.Net Core MVC Applica

Can we Embed Power BI Report from Power BI Report Server (On Premise) in ASP.Net Core MVC Web Application using windows authentication? Or Embed reports into iframe using windows authentication ?

1 ACCEPTED SOLUTION
Poojara_D12
Super User
Super User

Hi @Deiva 

Yes, it is possible to embed Power BI reports hosted on Power BI Report Server (On-Premises) into an ASP.NET Core MVC web application using Windows Authentication, but there are important considerations to keep in mind. Power BI Report Server uses Windows Authentication (Integrated Security) by default, which means it relies on Active Directory credentials to control access to reports. To embed these reports securely within your web app, you typically use an iframe that points to the report URL on the report server. However, since the report server enforces Windows Authentication, the user's browser must be able to automatically pass their Windows credentials to the server (using mechanisms like Kerberos or NTLM). This seamless authentication usually works best in intranet environments where users are logged into a domain-joined machine and browsers are configured to allow automatic login. If users are external or not domain-joined, additional configuration such as reverse proxies or explicit credential passing might be needed. From the application side, you don’t embed the report using Power BI REST APIs (which are primarily for Power BI Service), but rather you generate the correct report server URL and embed it in an iframe or web control, ensuring the web server and client browsers support and properly negotiate Windows Authentication. While this approach is feasible, it requires careful configuration of both your web server, the report server, and browser settings to ensure authentication flows smoothly and reports render without repeated login prompts.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS

View solution in original post

3 REPLIES 3
Poojara_D12
Super User
Super User

Hi @Deiva 

Yes, it is possible to embed Power BI reports hosted on Power BI Report Server (On-Premises) into an ASP.NET Core MVC web application using Windows Authentication, but there are important considerations to keep in mind. Power BI Report Server uses Windows Authentication (Integrated Security) by default, which means it relies on Active Directory credentials to control access to reports. To embed these reports securely within your web app, you typically use an iframe that points to the report URL on the report server. However, since the report server enforces Windows Authentication, the user's browser must be able to automatically pass their Windows credentials to the server (using mechanisms like Kerberos or NTLM). This seamless authentication usually works best in intranet environments where users are logged into a domain-joined machine and browsers are configured to allow automatic login. If users are external or not domain-joined, additional configuration such as reverse proxies or explicit credential passing might be needed. From the application side, you don’t embed the report using Power BI REST APIs (which are primarily for Power BI Service), but rather you generate the correct report server URL and embed it in an iframe or web control, ensuring the web server and client browsers support and properly negotiate Windows Authentication. While this approach is feasible, it requires careful configuration of both your web server, the report server, and browser settings to ensure authentication flows smoothly and reports render without repeated login prompts.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
v-priyankata
Community Support
Community Support

Hi @Deiva 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

Anonymous
Not applicable

Hi, @Deiva 

In Power BI Service, there are programs that embed paginated reports into personal websites or websites:

Embed paginated reports in your embedded analytics app - Power BI | Microsoft Learn

For an Power BI report server, I think you can generate and render an html page in your website or page that points to the paginated report URL on the Power BI Report Server.

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
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.