I have configured the Update Management solution in my OMS workspace. Everything seems to be working fine for most, but not all VMs I manage.
When I navigate to the Automation Account > Update Management pane in the Azure portal, the VMs with issues show the following (seemingly conflicted) parameters:
Compliance: Compliant (with green checkmark)
Update Agent Readiness: Not configured
I have checked the Application and Services Logs\Operations Manager Event Logs on the VM, and found 4502 errors but not referencing 'HybridAgent' as the Microsoft technical documentation instructs. No Windows or network based firewalls are blocking the path outbound over port 443, and we receive consistent heartbeats in OMS from the machine.
How is it possible that the solution assesses that the VM is compliant, but also says the "Update Agent Readiness" is not configured? Does this mean Update Management is getting the proper update status from the VM, but it cannot perform any updates if it finds needed updates?
What other troubleshooting steps should I take to address the "Not configured" message?
Azure Update Managament is using the OMS agent to do the assessnent of the server. The actual patching happens via a feature called Hybrid Worker. The OMS Agent distributes the bits for Hybrid Worker and the server is automatically configured for Hybrid Worker by Update Management. In this case seems that your server cannot be configured as Hybrid Worker. This Hybrid Worker is also reffered as Update Worker when it is configured by Update Management. In case the same computer was previously connected to another workspace there is the possibility that some old configuration was left on the computer and blocking the new registration. This is because only one Update Worker is allowed. The article is located here:
Registered Update workers can be seen in Azure Automation -> Hybrid Worker Groups -> System Hybrid Worker Groups. There you should all the servers that are onboarded to Update Management and they should report every 30 minutes.
Keep in mind that you cannot reigster Update Worker manually. If you perform the manual operation you are registering Hybrid Worker that is used to run your own custom runbooks on a server.
Let us know if you see any other errors. Also sometimes the server might be assessed before it is registered as Update Worker.