Issue with Automation Account SourceControl autoSync

Daniel Orelius 20 Reputation points
2024-05-31T14:46:17.5233333+00:00

Hi,

Has anyone else faced this issue with source control in Automation Accounts?

From one day to the next, the auto-sync feature just stopped working, and when we try to enable it, we get the following error:

We have a lot of source control configured and have never faced this issue until today.

I hope someone can explain what is going on.

SourceType: VsoGit

User's image

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,167 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sohail Ali 315 Reputation points Microsoft Employee
    2024-06-04T04:13:35.69+00:00

    Daniel Orelius
    When automation source control with Auto sync enabled is created, automation service tries to create a webhook on the GitHub repository to trigger auto sync of the runbook to the automation account. If you already have 20 webhooks in place on this repository then it will fail as it hits the GitHub limit which only allows the creation of 20 webhooks per object.

    https://docs.github.com/en/webhooks/testing-and-troubleshooting-webhooks/troubleshooting-webhooks#cannot-have-more-than-20-webhooks

    Resolution :-

    To delete unused webhooks on your repository or to use manual source control.


0 additional answers

Sort by: Most helpful