Azure automation source control sync jobs fail with "Exception: Job Failed. An unhandled exception occurred."

Austen Puleston 25 Reputation points
2024-05-06T18:56:14.14+00:00

I have a test github repo set up with an azure automation account using source control. The source control sync job ran successfully twice on 26th Apr 2024, but now fails.

There is no error given in the summary in the azure portal, the "all logs" page just shows the following:

Waiting for job output..

When querying the sync job using PowerShell, I receive the following:

Exception              : Job Failed. An unhandled exception occurred.
ResourceGroupName      : redacted
SourceControlName      : redacted
AutomationAccountName  : redacted
SourceControlSyncJobId : redacted
ProvisioningState      : Failed
SyncType               : FullSync
StartTime              : 5/6/2024 7:31:49 PM +01:00
EndTime                : 5/6/2024 7:31:49 PM +01:00
CreationTime           : 5/6/2024 7:28:39 PM +01:00

I have tried the same repo, and a separate repo hosted in github, and in azure devops, in a separate azure automation account in a separate tenant. I see exactly the same behaviour in all circumstances.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,143 questions
{count} vote

Accepted answer
  1. David Betancourt 80 Reputation points
    2024-05-07T06:16:55.4166667+00:00

    It seems to be sorted now. This is the response I got from MS Support:
    "Our product team has been migrating source control jobs to new ACI environment. They have identified the backend service issue and already reverted back after detecting the issue."

    I did run another full sync now to confirm this.

    Good luck!


0 additional answers

Sort by: Most helpful