Virtual Machine onboarding problem to vulnerability assessment

Kasper Kornak 20 Reputation points
2024-02-15T16:13:50.5366667+00:00

I have enabled Microsoft Defender as a vulnerability assessment tool for all my VMs within a subscription. Three of them show up in Advisor with title: "Machines should have a vulnerability assessment solution" and details: "Virtual Machine onboarding problem to vulnerability assessment. Make sure it’s properly onboarded to Microsoft Defender for Endpoint.". I tried fixing them via Azure portal, as well as uninstalling and installing them. In the Extensions + VM Applications tam on Azure portal all Extensions have status: Provisioning succeeded. Any tips how to solve this problem? Out of about 50 VMs, only three encountered this problem.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
{count} votes

Accepted answer
  1. Akshay-MSFT 17,956 Reputation points Microsoft Employee Moderator
    2024-03-01T06:21:10.44+00:00

    @Kasper Kornak

    Hope you followed the suggestion posted by deherman-MSFT, i.e, waiting for 24 hours after enabling the vulnerability solution:

    User's image

    • If that did not work, try and validate if there are any pending updates on the dependency's extension, kindly try updating them.

    User's image

    User's image

    • Also validate if "defender for servers" service is running on the impacted VM, like in my case I have defender for SQL so respective service must be running:

    User's image

    • If you don't see the service, then validate if the VM have the following folder or not in C:/Packages/Plugins/ with name similar to Microsoft.Azure.AzureDefenderForServer

    User's image

    If folder is not found try to copy it from any working VM on this location, restart the VM and try running the service.


    Please "Accept the answer (Yes)" and "share your feedback ". This will help us and others in the community as well.

    Thanks,

    Akshay Kaushik

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.