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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hey Guys,
I want to created a web app with JavaScript and want to use azure power BI embed service with my app for clients reports. I want to know is it possible to on off azure power BI embed according to client login-logout with my web app.(azure power BI charges occur according to login time of my web app).
If it possible then how?
Thanks in advanced.
Solved! Go to Solution.
Hi @Anonymous ,
When you embed for customer, you need a Capacity. I think you have bought a Azure Embedding Capacity. According to your statement, your requirement is to turn off the Capacity by client login-logout with web app to save on expenses.
Here are two workarounds.
1. You can pause and start your Power BI Embedded capacity in the Azure portal manually.
For reference: Pause and start your Power BI Embedded capacity in the Azure portal
2. You can try to pause and start your Power BI Embedded capacity by API.
For reference: Programatically start/stop Azure PowerBI capacity for PowerBI Embedded
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
When you embed for customer, you need a Capacity. I think you have bought a Azure Embedding Capacity. According to your statement, your requirement is to turn off the Capacity by client login-logout with web app to save on expenses.
Here are two workarounds.
1. You can pause and start your Power BI Embedded capacity in the Azure portal manually.
For reference: Pause and start your Power BI Embedded capacity in the Azure portal
2. You can try to pause and start your Power BI Embedded capacity by API.
For reference: Programatically start/stop Azure PowerBI capacity for PowerBI Embedded
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.