Defender for Cloud
Enable Defender for Servers Plan 2
Activate Defender for Servers on Azure VMs, configure auto-provisioning for agents, review Secure Score, run vulnerability assessments, investigate security alerts, and remediate recommendations to protect your server workloads.
Where it fits: lab 1 of 4
Monitor and improve cloud security posture. Protect servers, manage posture across Azure and AWS and secure AI workloads with Defender for Cloud.
- Enable Defender for Servers Plan 2 60 min
- Implement Cloud Security Posture Management 90 min
- Secure a Multi-Cloud Environment (AWS + Azure) 3 h
- AI Security Posture Management (DSPM for AI) 120 min
What this lab covers
Microsoft Defender for Servers is a workload protection plan within Microsoft Defender for Cloud that provides threat detection, vulnerability management, and security posture hardening for Azure VMs and hybrid servers. Plan 2 includes all Plan 1 capabilities plus vulnerability assessment powered by Microsoft Defender Vulnerability Management, file integrity monitoring, adaptive application controls, and just-in-time VM access. In this lab you will activate Defender for Servers Plan 2, configure auto-provisioning of agents, review your initial Secure Score, and resolve security recommendations. By the end of this lab, your Azure VMs will have full workload protection with continuous vulnerability scanning and threat detection enabled.
The enterprise scenario
Scenario: NorthWind Retail operates 200 Azure VMs running e-commerce services across two Azure regions (East US and West Europe). The VMs host web front-ends, API services, and backend processing for online orders, customer accounts, and payment processing.
The security team needs vulnerability management and real-time threat detection for all server workloads to comply with PCI DSS requirements. Recent industry reports show that unpatched web servers are the top initial access vector for retail breaches.
What you will learn
- Understand Defender for Cloud pricing tiers and the differences between Plan 1 and Plan 2
- Enable Defender for Servers Plan 2 on an Azure subscription using the portal, Azure CLI, and PowerShell
- Configure auto-provisioning to deploy the Log Analytics agent and monitoring extensions automatically
- Review and interpret your Secure Score and understand how recommendations affect it
- Run vulnerability assessment scans on Azure VMs and review discovered vulnerabilities
- Remediate top security recommendations to improve your security posture
- Configure email notifications so your team is alerted to high-severity threats
- Investigate a sample security alert to understand the alert lifecycle
Before you start
- Azure Subscription: An active Azure subscription with at least one resource group
- Role: Contributor or Security Admin role on the subscription (Owner for full plan management)
- Azure VMs: At least one Azure VM running (Windows Server 2019/2022/2025 or Ubuntu 20.04/22.04/24.04 recommended)
- Azure CLI: Version 2.50 or later installed locally or use Azure Cloud Shell
- PowerShell: Az.Security module installed for PowerShell-based management
- Portal Access: Access to the Azure portal with permissions to modify Defender for Cloud settings
- Network: VMs must have outbound HTTPS (443) connectivity to Azure management endpoints
The 10 steps
- Understand Defender for Cloud Plans and Pricing
- Enable Defender for Servers Plan 2 on a Subscription
- Configure Auto-Provisioning for the Log Analytics Agent
- Review Your Initial Secure Score
- Explore Security Recommendations for VMs
- Run a Vulnerability Assessment Scan
- Remediate Top Security Recommendations
- Configure Email Notifications for Alerts
- Investigate a Sample Security Alert
- Review Regulatory Compliance Dashboard