Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello,
I'm using Power Bi embedded solution into my app with Master User as the authentication type. In my local environment, all works fine, but when I move to production, it does not.
I have some questions:
Do I need to change the authentication type to Service Principal?, I mean, is it a requirement to move to production?
Do I need to configure something special on the server?
Thanks in advance 😊
Solved! Go to Solution.
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.
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!
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
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.
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 @Jayendran!
Sorry for my late reply!
Some URLs are blocked in the server. The networking team is working on that.
Thank you for your help 😊!
User | Count |
---|---|
10 | |
4 | |
4 | |
3 | |
3 |