Server Hardening powered by Azure machine configuration extension

Yasmin, Fitri 396 Reputation points
2026-07-22T10:19:53.1733333+00:00

I'm looking for guidance on hardening VMs on Azure. Through the document Architecture strategies for hardening resources, I've found out that Microsoft Defender for Cloud includes server hardening capabilities powered by Azure machine configuration extension.

In the Review and remediate OS misconfigurations in Microsoft Defender for Cloud, the instructions is to do the following

  1. In Defender for Cloud, open the Recommendations page.
  2. Select the relevant recommendation.
    1. For Windows machines, Vulnerabilities in security configuration on your Windows machines should be remediated (powered by Guest Configuration).
    2. For Linux machines, Vulnerabilities in security configuration on your Linux machines should be remediated (powered by Guest Configuration)

However, when I followed the above, I see on Azure portal that these recommendation is set for deprecation. What is the latest recommendations as replacement of the above? or is there a new alternative to implement Azure-native server hardening?

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author
SUNOJ KUMAR YELURU 18,496 Reputation points MVP Volunteer Moderator
2026-07-25T05:33:24.52+00:00

Hello @Yasmin, Fitri,

Thank you for using Q & A forum.

  1. Enable Defender for Servers Plan 2.
  2. Auto-deploy the Azure Machine Configuration extension.
  3. Use the Microsoft Cloud Security Benchmark (MCSB) recommendations surfaced in Defender for Cloud.
  4. Add Azure Policy initiatives for compliance and ongoing enforcement.
  5. Ignore references to the older Guest Configuration recommendation pages if they are marked for deprecation; they're being replaced by the newer recommendation experience rather than by a different hardening technology.

So there is no new replacement product for server hardening—the strategic direction is still Defender for Cloud + Azure Machine Configuration + Azure Policy + MCSB baselines.


If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Michele Ariis 7,315 Reputation points MVP Volunteer Moderator
    2026-07-22T10:36:31.5833333+00:00

    Hi Yasmin; those older Guest Configuration recommendations are being retired; the current Defender for Cloud replacement is Machines should be configured securely, which uses Microsoft Defender Vulnerability Management to identify operating-system security configuration weaknesses; it requires Defender for Servers Plan 2.

    For baseline compliance through Azure Machine Configuration, you can also assign the built-in Azure Policy definitions Windows machines should meet requirements of the Azure compute security baseline and Linux machines should meet requirements for the Azure compute security baseline; make sure the Machine Configuration extension and managed identity prerequisites are deployed.

    One important distinction is that most of these policies audit configuration and report drift; they do not automatically harden every setting; for actual enforcement you still need remediation policies, OSConfig where supported, Intune or another configuration-management tool, depending on the operating system and the control you want to apply.

    Was this answer helpful?


Your answer

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