The job was stopped because it did not complete after three attempts. Please try re-submitting a new job.

Pranathi Suresha 0 Reputation points
2023-06-07T14:26:07.2766667+00:00

Hello,

We have an automation runbook running to start and stop VMs. It was running fine. But yesterday the runbook was stuck at starting and today we see that it is stopped with an exception : "The job was stopped because it did not complete after three attempts. Please try re-submitting a new job." It does not show any logs, errors or warnings. Usually it takes 30 mins to complete the job. But not sure why this happened. I did check the documentation : https://learn.microsoft.com/en-us/azure/automation/troubleshoot/runbooks, but I'm not able to narrow down as to which issue it might be. Anybody experienced a similar problem? And what did you do to solve it?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,067 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,369 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
    2023-06-29T21:39:20.2266667+00:00

    Hi @Pranathi Suresha

    Besides resubmitting the job, it's difficult to say. If resubmitting the job did not work, there should be something in the logs. Try using the following steps below.

    Connect-AzAccount 
    
    $storageAccount = Get-AzStorageAccount -ResourceGroupName "<resource-group-name>" -AccountName "<storage-account-name>" 
    $ctx = $storageAccount.Context 
    
    Get-AzStorageBlob -Container "$logs" -Context $ctx
    

    If you have already done that, then we'll need to work with you offline. You can send us an email to AzCommunity[at]microsoft[dot]com ATTN: Ryan enclosed with your subscription id and a link to this post.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.