Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have retrieved a list of reports from the REST API - https://msdn.microsoft.com/en-us/library/mt634543.aspx and I have tried using the embedUrl in my broswer but it just hangs, there are no network or console errors in Chrome dev tools. I am using Chrome Version 63.0.3239.132 (Official Build) (64-bit). Can anyone help?
Hi @jstearnes,
The embedUrl cannot be directly used in browser. You'll need to do some coding(js, C#, and so on) to consume the embedUrl for embedding. The sample code below is written with PowerBI-JavaScript api. You can refer this article for more details. ![]()
// Get models. models contains enums that can be used.
var models = window['powerbi-client'].models;
var embedConfiguration = {
type: 'report',
id: '5dac7a4a-4452-46b3-99f6-a25915e0fe55',
embedUrl: 'https://app.powerbi.com/reportEmbed',
tokenType: models.TokenType.Embed,
accessToken: 'h4...rf'
};
var $reportContainer = $('#reportContainer');
var report = powerbi.embed($reportContainer.get(0), embedConfiguration);
Regards
Also, using the embedUrl on it's own should result in some sort of error, not in the browser hanging with no feedback
Hi @v-ljerr-msft I am building a REST API using Java so I'm not using JavaScript. I need to return a URL to our client application that allows them to view the report without having to perform any additional steps
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 56 | |
| 35 | |
| 18 | |
| 14 |