I have enabled the periodic assessment of this VM through azure policy but still periodic assessment is not enabled.

Harshit Mittal 0 Reputation points
2024-12-08T17:49:00.76+00:00

I have enabled the periodic assessment of this VM through azure policy but still periodic assessment is not enabled.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
938 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
329 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sándor Tőkési 171 Reputation points
    2024-12-08T19:07:27.71+00:00

    When you say you enabled it through Azure Policy, do you mean you created the Policy assignment or that you can actually confirm that the VM is configured this way?

    If you can confirm that the VM is actually configured, then the Policy worked just fine, and the issue is something else.

    If the machine is not configured, then I can think of the following things:
    1: When you create a policy assignment, it typically only affects new resources. To apply it to existing resources, you'll need to set up a remediation task. Have you created remediation tasks for the existing resources?
    2: Which policy effect have you used in your policy? I can only find one relevant built-in policy in Azure and that one only has an audit, deny, disabled effect. None of them will configure your resources (VMs). But you should confirm that you used a policy effect that can change the config.

    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.