Forum Discussion

alopez1205's avatar
alopez1205
Regular Visitor
6 years ago

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

  • v-alq-msft's avatar
    v-alq-msft
    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.

    • alopez1205's avatar
      alopez1205
      Regular Visitor

      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: 

    • alopez1205's avatar
      alopez1205
      Regular Visitor

      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: