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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Lorenz33
Helper III
Helper III

Cannot embed a Power BI Report into a .NET MVC application

We are running Power BI Report Server (May 2019) on SQL Server 2016 Build 13.0.5366.0. The operating system is Windows Server 2016 version 1+07 (OS Build 14393.3085).

 

We are creating reports using Power BI optimized for Report Server (May 2019).

 

We have a .NET MVC application and are embedding a Power BI report into a Razor page using the following iFrame tag:

 

<iframe style="width:100%; height:400px;" src="http://samplereportserver/myreports/powerbi/env/thegreatreport?rs:embed=true" frameborder="0" allowFullScreen="true"></iframe>

 

When the appliation tries to access the report, it gets asked for login credentials. The account accessing the report does have browser permissions to the report. It appears that the credentials are not being sent across. How can a report be embedded in this environment without having the user prompted for credentials?

 

I see there is an embed option but it appears only available in the Power BI Service:

 

https://powerbi.microsoft.com/en-us/blog/easily-embed-secure-power-bi-reports-in-your-internal-porta...

 

Any advice or help would be greatly appreciated. Thanks.

 

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.