Hi Nishant , thanks for posting this,
so u got those azure vms and defender for cloud keeps saying 'machines should have a vulnerability assessment solution' even though everything seems set up right )) classic microsoft moment huh?
make sure the azure security agent is actually running on those vms. sometimes it just... stops )) check the microsoft defender for cloud agent health docs at https://docs.microsoft.com/en-us/azure/defender-for-cloud/deploy-vulnerability-assessment-defender-vulnerability-management
also look at the scan schedules - since your vms are only on 8 hours a day, the scans might be trying to run when the machines are off. defender can be a bit stubborn about this ))
aha and about that broken 'fix' button - yeah that happens more than it should. instead, try removing the vulnerability assessment solution and adding it again https://docs.microsoft.com/en-us/azure/defender-for-cloud/deploy-vulnerability-assessment-defender-vulnerability-management
this might help in other tools too - always check if your security solutions match your vm uptime schedules. worth looking into whether u can adjust scan windows to match when servers are actually available ))
as well check this - sometimes the built in defender scans conflict with other security tools. if u got anything else running scans, they might be stepping on each other's toes.
oh and one more thing - defender needs internet access to do its thing. if your vms are locked down too tight, the poor thing can't phone home )) check out the network requirements here https://docs.microsoft.com/en-us/azure/defender-for-cloud/faq-data-collection-agents
hope this helps get those scans running!
Best regards,
Alex
and "yes" if you would follow me at Q&A - personaly thx.
P.S. If my answer help to you, please Accept my answer