Why am i getting virtual machines onboarding problems, in azure virtual machines. The exact error says "The machines doesn't have data from microsoft threat and vulnerability management, Make sure it’s properly onboarded to Microsoft Defender for Endpoint."
The things that i have already done are
1) taken defender plan 1 .
2) enabled "autoprovisioning" for "log analytics agent in azure vms" and "vulnerability assessment for machines".