Forum Discussion
Power BI Embedded doesn't work when move to production.
- 6 years ago
Hi mquijada ,
oh then it something wrong in the server itseems. As per the error the request is getting timeout meaning some ports/URL is blocking in the server.
What do you mean by "When I try to do the same on the server I don't get any."
Are you able check the same fiddler logs in the server ? that willl help you to getting which url is blocking.
Also as a work around. With in the server check whether you are able to access https://app.powerbi.com from the IE then try to login to the app.powerbi.com
Hi mquijada ,
Master accout approach will work anywhere. It is not something this approach will work only in your local. PROD also it will work.
However microsoft is recommend to use SPN rather than master account, because soon they will stop this(master account) approach . So I also recommend that if you are in development stage, pls start with SPN so that you don't have to work later to migrate your application from master to SPN.
- mquijada6 years agoFrequent Visitor
Hello, thanks for your reply Jayendran !
I already changed to Service Principal as the authentication type. Works fine on my local, but when moving to prod, I'm getting the following error:Any clue?
Thank you!- Jayendran6 years agoSolution Sage
Hi mquijada
Can you cross check whether you are followed all the process below
https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal
- mquijada6 years agoFrequent Visitor
Hi Jayendran,
Yes, I followed all the steps in the link.
If I am missing something, it wouldn't work on my local either, right? but it does.
Could it be something on the server, proxy, firewall, etc?
I tried Fiddler on my local, and I can see the URL requests as I expected:When I try to do the same on the server I don't get any.
Thanks for the prompt response and sorry for all the questions.