I have seen the same today with a script I've migrated over to 7.2 with an MSI. Ran for a couple hours then was suspended with the following error:
Job was suspended due to an internal error.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure Automation Account - We have a Powershell runbook stuck in Starting (intermittently). Sometimes it works, other times its just stuck in Starting phase and never moves. Can't stop or cancel it
I have seen the same today with a script I've migrated over to 7.2 with an MSI. Ran for a couple hours then was suspended with the following error:
Job was suspended due to an internal error.
I have the same issue with multiple scripts.
All using PowerShell 7.2, location Germany West Central, using a Managed Identity.
Tried everything in terms of logs, cannot find a single clue. Verbose logging shows nothing strange.
It just stops doing whatever it was doing and stays suspended. I then have to stop the suspended jobs.
Same as the original poster, although we able to stop the job. The job immediately suspended after it ran.
Using Managed Identity with PowerShell 7.2.
Location: Southeast Asia
The issue only started this year (3 Jan 2024), there was no issue last year.
{
"id": "/subscriptions/d23b25b0-1858-4c34-942a-7a734243fcfe/resourceGroups/xxxxxxx/providers/Microsoft.Automation/automationAccounts/configure-elasticpool-dtu/jobs/SCH_d23b25b0-1858-4c34-942a-7a734243fcfe-d23b25b0-1858-4c34-942a-7a734243fcfe",
"name": "SCH_d23b25b0-1858-4c34-942a-7a734243fcfe_d23b25b0-1858-4c34-942a-7a734243fcfe",
"type": "Microsoft.Automation/AutomationAccounts/Jobs",
"properties": {
"jobId": "d23b25b0-1858-4c34-942a-7a734243fcfe",
"creationTime": "2024-01-06T16:00:02.5883836+00:00",
"provisioningState": "Suspended",
"status": "Suspended",
"statusDetails": "None",
"startedBy": "",
"startTime": null,
"endTime": null,
"lastModifiedTime": "2024-01-06T16:00:53.7878749+00:00",
"lastStatusModifiedTime": "2024-01-06T16:00:53.7878749+00:00",
"exception": "Job was suspended due to an internal error. Please retry after sometime.",
"parameters": {
"xxx": "\"xxx\"",
"Edition": "\"Standard\"",
"ResourceGroupName": "xxx\"",
"Dtu": "100",
"PoolName": "\"xxx\"",
"DtuMax": "100",
"DtuMin": "0"
},
"runOn": "",
"runbook": {
"name": "scaleup2023"
}
}
}
same issue in north europe. all automation account runbook using powershell core 7.1 and 7.2 are queued..or suspended
Same here, azure automation account, python 3.10, East-US, it gets stuck in the 'starting' status every other time. This has been going on for several months now. It doesn't produce any logs because it can't even start. Even after an hour, it remains in the 'starting' status, and I have to stop it using the PowerShell CLI.