The Azure Resource Graph queries filter specifically on type == 'microsoft.compute/virtualmachines/patchinstallationresults', however as a result you disregard all results coming from for example the type microsoft.hybridcompute/machines/patchinstallationresults.
You could change it the query to use :
patchinstallationresources
| where type == 'microsoft.compute/virtualmachines/patchinstallationresults' or type == 'microsoft.hybridcompute/machines/patchinstallationresults'
However this might bring in problems in the future if additional types are added. You are maybe better of with this:
patchinstallationresources
| where type endswith '/patchinstallationresults'
The Azure Resource Graph queries filter specifically on type == 'microsoft.compute/virtualmachines/patchinstallationresults', however as a result you disregard all results coming from for example the type microsoft.hybridcompute/machines/patchinstallationresults.
You could change it the query to use :
However this might bring in problems in the future if additional types are added. You are maybe better of with this: