Azure runbook restart during execution




I have a runbook to read all site collections from multi geolocation and get sca. There are more than 200000 site collection which needs to be processed. I am calling a child runbook from the partent runbook to get SCAs in batch of 500 site collections each. There should be around 450~500 child runbook jobs created during the excution of parent runbook.

While I am executing the parent runbook, it is getting restarted from the begning during its execution. The total duration of execution of parent runbook in only 30 mins.

Can anyone will help me in understaning why the parent runbook execution is getting resatrted from the begning in between? Does a fair share limit has to do with the restart of parent runbook?





1 Reply
You are probably reaching Azure Automation memory limits for jobs running in Automation sandboxes. You can try to either optimize your scripts to consume less memory or use Hybrid Workers. See references below: