Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
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:
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:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.