Show failed Azure Update Manager packages and error messages in the last 24 hours

Show failed Azure Update Manager packages and error messages in the last 24 hours

Outdated machines pose security risks, hence its crucial to keep all your machine up to date with all the latest patches. Azure Update Manager is a service that helps manage updates for all your machines across Azure, on premises, and on other cloud platforms.

An easy way to obtain information about the current status of your infrastructure patch level is by performing KQL queries.

The first query focuses in showing a list of failed packages and machines:

The second one show all the error messages:

These queries can even be used to setup daily alerts, but that is a subject for another post.