Source Control doesn't sync runbooks

Djordje Novakovic 306 Reputation points
2023-02-01T08:44:08.81+00:00

Hello,

we have and issue with Source control on one automation account.

It suddenly stopped working yesterday:

User's image

Job summary shows that 100 runbooks are synced but 30 runbooks are not synced:

========================================================================================================

Azure Automation Source Control.

Supported runbooks to sync: PowerShell Workflow, PowerShell Scripts, DSC Configurations, Graphical, and Python 2.

Setting AzureEnvironment.

Source control information for syncing:

[RepoUrl = https://xyz.visualstudio.com/AzureRunbooks/_git/AzureRunbooks] [Branch = master] [FolderPath = /AutomationAccount/scripts]

Verifying url: https://xyz.visualstudio.com/AzureRunbooks/_git/AzureRunbooks

Connecting to VSTS...

Source Control Sync Summary:

100 files synced:

- AD-EnableMailAndSkypeV2.ps1

- Assign-TeamsPhoneNumber.ps1

- Backup-AWSS3Bucket.ps1

- Backup-AzureRunbooks.ps1

- Backup-ExchangeDynamicGroups.ps1

- Check-ADComputerOwner.ps1

- Check-ADmachinesVLANs.ps1

- Check-HelpdeskMails.ps1

....

Failed to import runbook:

- Send-AzureADSPPermissions.ps1

- Send-CentaurReport.ps1

- Send-EmployeeJiraNotifications.ps1

- Send-EmployeeLeave.ps1

- Send-IntuneLastSyncDateInfo.ps1

- Send-IntuneMissingInventoryNumber.ps1

...

And in the Error log:

Failed to import runbook 'Send-AzureADSPPermissions.ps1'.
Exception: The property 'properties' cannot be found on this object. Verify that the property exists.

Failed to import runbook 'Send-CentaurReport.ps1'.
Exception: The property 'properties' cannot be found on this object. Verify that the property exists.

Failed to import runbook 'Send-EmployeeJiraNotifications.ps1'.
Exception: The property 'properties' cannot be found on this object. Verify that the property exists.

Failed to import runbook 'Send-EmployeeLeave.ps1'.
Exception: The property 'properties' cannot be found on this object. Verify that the property exists.

Failed to import runbook 'Send-IntuneLastSyncDateInfo.ps1'.
Exception: The property 'properties' cannot be found on this object. Verify that the property exists.

Failed to import runbook 'Send-IntuneMissingInventoryNumber.ps1'.
Exception: The property 'properties' cannot be found on this object. Verify that the property exists.

We also noticed that all runbooks that are not synced are listed on the second page within the list:

User's image

Do we need to change something in our environment?

Could it be something from Microsoft's side?

Thanks

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

Accepted answer
  1. AnuragSingh-MSFT 19,686 Reputation points
    2023-02-06T05:42:40.1066667+00:00

    @Djordje Novakovic Thank you for the confirmation.

    There was an issue identified with the source control sync feature of Azure Automation, which has been fixed. I tested in my test environment as well, and new scripts are getting synced over to the Automation Account.

    I hope this has been fixed for everyone. If someone is still facing an issue related to source control sync, please post a new question and we will help investigate it.

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful