Lesson 2 of 5 Defender for Servers and Hybrid Security

Onboarding Servers to Defender for Servers

This lesson compares the two plans, and explains how each kind of machine is onboarded.

Learning outcomes

After completing this lesson, you will be able to:

  • Compare Plan 1 and Plan 2.
  • Explain the enablement scope.
  • Choose an onboarding route for a machine.
  • Identify which agents are no longer used.

Plans 1 and 2

Defender for Servers has two plans, and many scenarios are decided by a single feature that only one plan offers. Plan 1 is entry-level, and it focuses on endpoint detection and response through Defender for Endpoint. Plan 2 includes everything in Plan 1 and more. The following table gives the features that matter most.

FeaturePlan 1Plan 2
Defender for Endpoint EDR and automatic onboardingYesYes
Software inventoryYesYes
Agent-based vulnerability scanningYesYes
Agentless vulnerability scanningNoYes
Agentless malware and secrets scanningNoYes
Defender Vulnerability Management premium featuresNoYes
Just-in-time VM accessNoYes
File integrity monitoringNoYes
Network mapNoYes
Operating system baseline misconfigurationsNoYes
Defender for DNS alerts and Azure network layer detectionNoYes
500 MB of free data ingestion per dayNoYes

Learn these by theme. If a requirement says just-in-time, agentless, file integrity, baseline or free log ingestion, it needs Plan 2. Separately, Defender Experts for Servers is a paid managed service that works with either plan.

Sort into groups

Plan 1 or Plan 2?

Exam skills 3.2.5 · 3.2.6

Choose the lowest Defender for Servers plan that provides each feature.

Log in to try this activity Interactive activities are free with an account.

Enablement scope

Both plans are normally enabled at subscription level, under Environment settings, and new machines are covered automatically. Plan 1 can also be enabled for a single resource. Plan 2 cannot be enabled per resource, although it can be disabled per resource. A scenario that asks to protect only some machines in a subscription with Plan 2 therefore needs either an exclusion on the others, or a separate subscription.

A 30-day trial applies, and it cannot be stopped, paused or extended. Azure Policy can enforce the plan on all subscriptions. Across large estates, a built-in definition can configure the plan automatically.

Scenario questions

Scoping the plan

Exam skills 3.2.5

Decide how to scope Defender for Servers.

Log in to try this activity Interactive activities are free with an account.

Onboarding by machine type

Each machine type reaches the plan through a different route. The following table summarizes them.

MachineRoutePrerequisites
Azure VMDirect, once the plan is onNone beyond a supported operating system
On-premises serverAzure ArcAzure Connected Machine agent
AWS EC2 instanceAWS connector and Azure ArcAWS SSM Agent, with the AmazonSSMManagedInstanceCore policy
GCP Compute Engine instanceGCP connector and Azure ArcA connector with the Servers plan on

Once a machine is in scope, the Defender for Endpoint extension installs automatically on supported machines. The tenant needs Defender for Endpoint integration turned on in Defender for Cloud's settings. Vulnerability management is enabled by default when that extension is in place.

Match the pairs

Onboarding routes

Exam skills 3.2.5

Match each machine type with its route into Defender for Servers.

Log in to try this activity Interactive activities are free with an account.

Agents: what is and is not needed

Agent requirements have changed, and older study material may mislead. The Log Analytics agent retired in August 2024, and its features moved to the Defender for Endpoint integration or to agentless scanning. Defender for Servers no longer uses it, and no longer uses the Azure Monitor Agent for most features. AMA remains a supported collection method for the 500 MB ingestion benefit. Operating system baseline assessment in Plan 2 needs the Azure Machine Configuration extension.

Older answers

An option that says to deploy the Log Analytics agent, or to install the Qualys scanner, describes an older approach. Current onboarding relies on the Defender for Endpoint extension and agentless scanning.

Enabling with a command

The following commands set Plan 2 on a subscription and confirm the setting.

az security pricing create --name VirtualMachines --tier Standard --subplan P2
az security pricing show --name VirtualMachines --query "{tier:pricingTier,subPlan:subPlan}"
Worked example

Choosing and scoping a plan

A subscription has 100 VMs. Twenty of them are domain controllers that need just-in-time access and file integrity monitoring, and the other 80 need EDR only. The company wants to pay for Plan 2 only where it is needed, and it is willing to reorganize subscriptions. What should you do?

Just-in-time access and file integrity monitoring need Plan 2, and Plan 2 cannot be enabled for individual resources. Move the domain controllers to a separate subscription with Plan 2, and keep the other 80 VMs in a subscription with Plan 1, which provides EDR.

Enabling Plan 2 on the existing subscription and disabling it on the 80 VMs would save money, but those VMs would then lose the EDR that they need. Enabling Plan 1 per resource on the 20 domain controllers would not supply the Plan 2 features.

Check yourself

Which plan includes the 500 MB daily data ingestion benefit?

Show answer

Plan 2.

Exam Tips

Remember for the exam

  • JIT, file integrity monitoring and agentless scanning need Plan 2.
  • Plan 1 can be enabled per resource; Plan 2 can only be disabled per resource.
  • On-premises and multicloud machines need Azure Arc.
  • The Log Analytics agent retired in August 2024.