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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
alopez1205
Regular Visitor

Power BI embedded works only localhost

Hello everyone! 

 

I've been working with a project and I used the Power BI API to get workspace elements. I've followed the playground instructions. In my localhost, everything seems to been working properly. I've already acquired capacity (premium) and created the azure's application and configured everything that the playground and PBI Tutorials suggest. Everything is fine at this point, but when I moved my application to a production server (same credentials that I used in localhost) the API stopped giving me results and the dashboard stays on the power bi logo and it doesn't load the dashboard/report.

 

Do you know if there are some specific conditions in the server that I need to review (ports, firewall, etc)?

 

I'm using "Master user" as authentication method. 

 

 

4 REPLIES 4
ranbeermakin
Resolver III
Resolver III

Hi @alopez1205 

 

There are some permissions required at the Azure portal level. Can you read through this blog to check what are you missing?

 

https://bigintsolutions.com/2018/08/02/baby-steps-to-embed-your-power-bi-reports/

 

-Ranbeer

Please accept this post as solution if this meets your need.

Hello @ranbeermakin , thank you for your response.

 

I've already changed my authentication type to Service Principal after an MS recommendation.
The solution works in localhost, but in the production server, It doesn't.

 

It shows me the following message:

Error message.png

v-alq-msft
Community Support
Community Support

Hi, @alopez1205 

 

I'd like to suggest you refer the document . If it doesn't help, you may create a support ticket here for further analysis.

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-alq-msft 

 

I created my solution following the tutorial you shared. As I mentioned, everything works as expected in my localhost. But when I tried to move my project to a production server, I'm not able to get a response from the PBI Rest API.

 

The error I'm receiving is this: 

Error message.png

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors