Hello Rajnish Sharma,
To fix VMSS monitoring policy compliance issues quickly: Head to Azure Policy in the portal, assign built-in definitions like "Deploy Azure Monitor Agent for VMSS" (search under Compute > Virtual Machine Scale Sets) with "DeployIfNotExists" effect to auto-install agents and enable diagnostics. Check the Compliance dashboard for non-compliant VMSS, then run a remediation task to deploy missing extensions without downtime—takes about 15-30 mins. If stuck, verify agent prerequisites via https://aka.ms/gcpol and trigger an on-demand scan with PowerShell: Start-AzPolicyComplianceScan. This should get your VMSS monitored properly.
Best Regards,
Jerald Felix