azure-policy icon indicating copy to clipboard operation
azure-policy copied to clipboard

[Preview]: Configure periodic checking for missing system updates on azure Arc-enabled servers

Open rickelder123 opened this issue 3 years ago • 2 comments

ISSUE TITLE: [Preview]: Configure periodic checking for missing system updates on azure Arc-enabled servers"

ISSUE DESCRIPTION: In the Preview Policy "[Preview]: Configure periodic checking for missing system updates on azure Arc-enabled servers" is showing as noncompliant on Azure Arc guest machines for the following reason 4 reasons.

Reason for non-compliance Current value must not be equal to the target value. Field Microsoft.HybridCompute/machines/osName Path properties.osName Current value "windows" Target value "Windows"

Reason for non-compliance Current value must not be equal to the target value. Expression [empty(parameters('locations'))] Current value true Target value "True"

Reason for non-compliance Current value must be equal to the target value. Field Microsoft.HybridCompute/machines/osProfile.windowsConfiguration.patchSettings.assessmentMode Path properties.osProfile.windowsConfiguration.patchSettings.assessmentMode Current value Target value "AutomaticByPlatform"

Reason for non-compliance Current value must not be equal to the target value. Expression [empty(parameters('tagValues'))] Current value true Target value "True"

These are Azure Arc Guest VMs Azure Arc GuestVM

rickelder123 avatar Nov 04 '22 14:11 rickelder123

We have this same problem. Of the 2 Arc-servers we added one of them has this issue and the other does not.

rvtdadmin avatar May 11 '23 17:05 rvtdadmin

I was able to fix this by manually creating a remediation task. Don't understand what that does as I'm new to Azure policies. But it worked for me.

Machine5464 avatar Dec 11 '23 12:12 Machine5464