Hi Inbal Silis, I hope I can help you with this question.
Remediation tasks are performed automatically only on newly created resources.
For already existing resources, the policy for the "DeployIfNotExists" effect always evaluates only the state but does not perform any remediation tasks automatically - unless it is explicitly specified when assigning the policy (but then also runs only once). The Remediation can be executed thereby purposefully with certain resources.
Generally, there are 3 options to perform a remediation.
1.) From the Remediation page
2.) From a non-compliant policy assignment
3.) during policy assignment (as already mentioned)
You can find more information on the following page:
If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you.