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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Dashboard embed URL failing to load

Dear All,

 

I have done Azure app registration and all RESTful steps to be able to run the sample dashboard app in visual studio 2017. It is running perfectly on localhost. But when I copy the dashboard URL into the browser, it comes blank.

 

In the console, it returns 404 error. And one interesting thing I noticed in the Microsoft Power BI Embedded Playground, I copied the dashboard embed URL it was not showing console error, but it was not showing too. It just keeps on buffering/loading mode.

And in Dashboard URL of my localhost, the structure is "https://app.powerbi.com/dashboardEmbed?dashboardId=xxxx"(which is throwing 401 error) while in Dashboard URL of Microsoft Power BI Embedded Playground, "https://app.powerbi.com/embed?dashboardId=xxxx" ( which is at least loading).

 

Can anyone tell me why they both are different?  One thing is clear I think is that I am seeing the 401 error because its not right URL which browser needs!

Can anybody please help me? I eventually then going to use the embed URL into a website.

 

Thank you in Advance!

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

To use the embed URL into a website to show dashboards from power bi, 

Please consider Power BI Publish to web, you can easily embed interactive Power BI visualizations online, such as in blog posts, websites, through emails or social media, on any device.

 

According to your information, it seems you work with Power BI Embedded,

after run the sample dashboard app in visual studio 2017, i'm afraid it doesn't support to use dashboard URL into the browser as you expected.

please check this article if you have completed developing your application,if so, next step is to back your app workspace with a dedicated capacity so that it moves to production.

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi Maggie,

 

Thanks for the reply. But I am not working with PowerBI Embedded. I am working with PowerBI Pro license

 

Thank you

Anonymous
Not applicable

Hello All,

 

Please reply to me if anyone knows about this...!

 

Can we not embed the dashboard into a third-party website just using PowerBI Pro License? Do we need to have PowerBI Embedded?

 

Thank you in advance.

Anonymous
Not applicable

Hi Maggy,

 

We can use  Power BI Publish to web, to embed Power BI Reports only not a dashboard. I have followed these exact steps to embed power bi dashboard its not my own application. Refer this link -https://www.youtube.com/watch?v=XSAHwE21Buk

 

My problem is dashboard is no showing in a third-party website. I am getting this error now

 

https://api.powerbi.com/powerbi/metadata/refreshusermetadata 401

I have come across CORS functionality as a solution to this problem  but how to use it within the website 

 

Please help me if anyone knows the solution.

 

Kind Regards,

 

N

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors