In the Azure Update Manager the update - AzureConnectedMachineAgent Version 1.39 - March 2024 Update - is pending. I tried an "One-time update" by Azure Update Manager but after aprox. 20 minutes proceeding the update fails with the following error:
But when I connect to the server and run "Check for updates" the update will be installed without any problems.
Error messages...
3 errors reported. The latest 100 errors are shared in details. To view all errors, review this log file on the machine:[C:\ProgramData\GuestConfig\extension_logs\Microsoft.SoftwareUpdateManagement.WindowsOsUpdateExtension\16.telemetryLogs]. Failed to assess and install update [AzureConnectedMachineAgent Version 1.39 - March 2024 Update]. Reason: [Failed to install Update AzureConnectedMachineAgent Version 1.39 - March 2024 Update. result code:orcFailed. HResult: 0x80070643.. For information on diagnosing this error, see: https://aka.ms/TroubleshootVMGuestPatching.] Failed to assess and install update [AzureConnectedMachineAgent Version 1.39 - March 2024 Update]. Reason: [Failed to install Update AzureConnectedMachineAgent Version 1.39 - March 2024 Update. result code:orcFailed. HResult: 0x80070643.. For information on diagnosing this error, see: https://aka.ms/TroubleshootVMGuestPatching.] Failed to assess and install update [AzureConnectedMachineAgent Version 1.39 - March 2024 Update]. Reason: [Failed to install Update AzureConnectedMachineAgent Version 1.39 - March 2024 Update. result code:orcFailed. HResult: 0x80070643.. For information on diagnosing this error, see: https://aka.ms/TroubleshootVMGuestPatching.]
16.telemetryLogs
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] In MaintenanceWindowManager, calculating remaining time [TimeLeft=208,063379818333][CutOffTime=15][IsEnoughTimeToContinue=True]
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] In MaintenanceWindowManager, calculating remaining time [TimeLeft=208,063379818333][CutOffTime=15][IsEnoughTimeToContinue=True]
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] In MaintenanceWindowManager, calculating remaining time [TimeLeft=208,063379818333][CutOffTime=15][IsEnoughTimeToContinue=True]
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] In MaintenanceWindowManager, calculating remaining time [TimeLeft=208,063379818333][CutOffTime=15][IsEnoughTimeToContinue=True]
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] In MaintenanceWindowManager, calculating remaining time [TimeLeft=208,063379818333][CutOffTime=15][IsEnoughTimeToContinue=True]
[9764+00000004] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Installation of the packages is completed. Now checking the installation result. [UpdateTitle=AzureConnectedMachineAgent Version 1.39 - March 2024 Update][UpdateId=21068bc7-eff9-48bf-a93f-f3b1e5826697][TotalTimeInMilliSecond=305910][HResult=-2147023293][ResultCode=orcFailed]
[9764+00000001] 09.04.2024 08:09:26 [Error] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Refreshing extension result summary after installation job completed was failed. [Update Title=AzureConnectedMachineAgent Version 1.39 - March 2024 Update][UpdateId=21068bc7-eff9-48bf-a93f-f3b1e5826697][message=Failed to install Update AzureConnectedMachineAgent Version 1.39 - March 2024 Update. result code:orcFailed. HResult: 0x80070643.. For information on diagnosing this error, see: https://aka.ms/TroubleshootVMGuestPatching.]
[9764+00000001] 09.04.2024 08:09:26 [Error] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Installation of package failed. [UpdateTitle=Installing][UpdateId=AzureConnectedMachineAgent Version 1.39 - March 2024 Update][KBID=21068bc7-eff9-48bf-a93f-f3b1e5826697][Exception=Microsoft.Azure.Extensions.UpdateExtension.Common.UpdateManagementException: Failed to install Update AzureConnectedMachineAgent Version 1.39 - March 2024 Update. result code:orcFailed. HResult: 0x80070643.. For information on diagnosing this error, see: https://aka.ms/TroubleshootVMGuestPatching.
bei Microsoft.Azure.Extensions.UpdateExtension.UpdateExtensionCore.UpdatePatching.BeginInstall(UpdateDeploymentDetail update, IUpdateInstaller installer, Boolean includeRebootTime, Int32 cutOffWindowInMinutes, ManualResetEvent mre)
bei Microsoft.Azure.Extensions.UpdateExtension.UpdateExtensionCore.UpdatePatching.PatchUpdates()]
[9764+00000001] 09.04.2024 08:09:26 [Verbose] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Cancellation request is checked and Cancellation is not requested. [Operation=Installing]
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Checking for reboot registry in Windows Server 2016 and above: [Os=Microsoft Windows NT 10.0.17763.0][CBSServiceInProgressRegistryValue=0]
[9764+00000001] 09.04.2024 08:09:26 [Warn] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Machine reboot data. [TimeLeft=208,063379818333][Operation=Installing][UserRebootSetting=Never][PatchRebootSetting=NotNeeded][RebootRegistryKeys=False]
[9764+00000001] 09.04.2024 08:09:26 [Warn] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] The machine will not reboot since it is not required. [TimeLeft=208,063379818333][Operation=Installing]
[9764+00000001] 09.04.2024 08:09:26 [Warn] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Retries exhausted for all failed patches. [FailedPatchCount=1][RetryCount=3][CurrentInstallCount=0]
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Patching is ended: [Operation=patching][TotalTimeTakenInMilliseconds=1602060]
[9764+00000001] 09.04.2024 08:09:26 [Error] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Installation status being set to error. [ErrorCount=3][MaintenanceWindowExceeded=False][PendingPatchCount=0][FailedPatchCount=1][PreviousStatus=transitioning]
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] Final status of the operation. [Operation=Patching][Status=error][ErrorCount=3]
[9764+00000001] 09.04.2024 08:09:26 [Info] [ActivityId=afb7c56c-53a0-4de1-943c-7e0f142a4299][MachineName=HG-MANAGEMENT01] RegistryManager updated registry key [IsJobRunning] with value [False].
[15844+00000001] 09.04.2024 08:09:59 [Info] [ActivityId=00000000-0000-0000-0000-000000000000][MachineName=HG-MANAGEMENT01] The extension is being called with valid argument, loggers are initialized. [Argument=Enable][ExtensionVersion=1.0.18.0][HandlerEnvironment=LogFolder: "C:\ProgramData\GuestConfig\extension_logs\Microsoft.SoftwareUpdateManagement.WindowsOsUpdateExtension", ConfigFolder: "C:\Packages\Plugins\Microsoft.SoftwareUpdateManagement.WindowsOsUpdateExtension\1.0.18.0\RuntimeSettings", StatusFolder: "C:\Packages\Plugins\Microsoft.SoftwareUpdateManagement.WindowsOsUpdateExtension\1.0.18.0\status", HeartbeatFile: "C:\Packages\Plugins\Microsoft.SoftwareUpdateManagement.WindowsOsUpdateExtension\1.0.18.0\status\HeartBeat.Json"][SequenceNumber=16]
[15844+00000001] 09.04.2024 08:10:00 [Info] [ActivityId=00000000-0000-0000-0000-000000000000][MachineName=HG-MANAGEMENT01] The extension has read the input settings. [Argument=Enable][ExtensionVersion=1.0.18.0][SequenceNumber=16][InputSettings={