Programatic stop/start of Power BI Embedded capacity using Azure Automation runbook shuts down app service

Nick Pedersen 1 Reputation point
2021-12-08T14:32:53.127+00:00

I'm running this code in an automation to stop and start the embedded capacity on off hours. However, it seems that if the capacity is off for too long (not sure the length), the app service backing the web app auto shuts off. In testing, when the capacity is off for 10s of minutes at a time, the problem does not occur. Can someone please let me know the maximum shutoff allowed and/or how to disassociate the availabilities?

https://gist.github.com/dzsquared/86abb47dc5ed7562c20566113d7e3c47

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,798 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,016 Reputation points
    2021-12-09T03:41:38.387+00:00

    @Nick Pedersen Currently, Microsoft Power BI related questions are not supported through the Microsoft Q&A forum. Instead, you should ask your question at Power BI QnA Community

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments