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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Embed PowerBi Report into Windows Form

Hi All,

 

I have successfuly embeded Power Bi Report  with View Access level on my Webpage, it is working good.

Now I'm trying to show report in Windows Form App using WebBrowser control.

I do the simple steps,

webBrowser.Navigate( embedUrl );

and in DocumentCompleted event handler

 

string message = JsonConvert.SerializeObject( new
{
type = "report",
action = "loadReport",
accessToken = AccessToken
} );
webBrowser.Document.InvokeScript( "postMessage", new object[] { message, "*" } );

 

And after that I got error

 

This content isn't available.
Learn more about Power BI.
 
 
I think i sent wrong data in postMessage, anybody have success with following process?

 

 

 

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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