We have few machines in which assessment for azure patching is not getting succeed.A Keep getting error “Assessment failed due to this reason: Operation has timed out” .When I start the check for updates on my ARC servers I get the following error:

Ajeet kumar 0 Reputation points
2024-11-27T13:52:52.5866667+00:00

We have few machines in which assessment for azure patching is not getting succeed.A Keep getting error “Assessment failed due to this reason: Operation has timed out” .When I start the check for updates on my ARC servers I get the following error: Assessment failed due to this reason: "340 errors reported. The latest 3 errors are shared in details. To view all errors, review this log file on the machine:[C:\ProgramData\GuestConfig\extension_logs\Microsoft.CPlat.Core.WindowsPatchExtension] "["Windows update API failed to assess the machine for available updates. Error:Exception from HRESULT: 0x8024402C, Hresult:0" at UpdateManagementAction.concrete.UpdateAssessment.GetAvailableUpdates() at UpdateManagementAction.concrete.AssessmentAction.Assess(UpdateManagementResultSummary updateActionResultSummary)]." "["Windows update API failed to assess the machine for available updates. Error:Exception from HRESULT: 0x8024402C, Hresult:0" at UpdateManagementAction.concrete.UpdateAssessment.GetAvailableUpdates() at UpdateManagementAction.concrete.AssessmentAction.Assess(UpdateManagementResultSummary updateActionResultSummary)]."

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,173 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,049 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
330 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sai Krishna Katakam 1,510 Reputation points Microsoft Vendor
    2024-11-27T17:31:17.0933333+00:00

    Hi Ajeet kumar,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    The error "Assessment failed due to this reason: Operation has timed out" with HRESULT 0x8024402C typically indicates issues with the Windows Update API or network connectivity. Follow these steps to resolve it:

    Make sure the machine can access Windows Update and Azure Update Management endpoints, such as https://*.update.microsoft.com.
    Network Configuration for Azure Automation.

    Verify the wuauserv service is running and Windows Update settings are correct. If using WSUS, ensure the server URL is not malformed.

    Uninstall and reinstall the Azure Update Management extension:

    az connectedmachine extension delete --name Microsoft.CPlat.Core.WindowsPatchExtension --machine-name <ArcServerName>
    az connectedmachine extension set --name Microsoft.CPlat.Core.WindowsPatchExtension --machine-name <ArcServerName>
    

    Confirm the machine meets the requirements for Azure Update Management.
    Update Management prerequisites.

    For more details, refer to Troubleshoot Azure Update Management Center, Plan your Update Management deployment.

    If an answer has been helpful, please consider accept the answer and "Upvote" to help increase visibility of this question for other members of the Microsoft Q&A community. 

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.