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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors