We applied below built-in policy to automatically deploy log analytics extension at the time of VM creation.
Deploy - Configure Log Analytics extension to be enabled on Windows virtual machines
Deploy Log Analytics extension for Linux VMs
But it didn't deploy extension while we create VM. Remediation task didn't solve the issue as well.
Can someone help with this. Thanks in advance.