Vulnerability scan fails with "Failed to complete the vulnerability scan. Vulnerability Assessment has failed due to error in Windows Updates."
This is a generic alert that appears in case of issues in WSUS (Windows Server Update Services).
To find out the root cause, go to the activity of the plan (Management tab - select the plan - Activities) or find it under Monitoring - Activities.
In the activity details, you will see the code of the error:
Select one of the sections below based on the error code, or contact Microsoft with the error details.
If the suggested solutions do not help, please contact Microsoft for further assistance.