Azure Security Center was built to scan your resources, score your security posture, and tell you what to fix first. Microsoft has since merged it with Azure Defender under the name Microsoft Defender for Cloud, but many teams, auditors, and job descriptions still use the old name. The capabilities carried forward, and the free posture features stayed free.
By the end of this guide, you will understand what the service does, how to enable and tune it, how to control costs, and how to turn its recommendations into fixes your team will actually complete.
What Azure Security Center Is Today
Azure Security Center launched as a dashboard for cloud security posture management (CSPM), which means continuously checking resource settings against security standards. Azure Defender added cloud workload protection, which detects live threats against servers, databases, containers, and storage.
Microsoft combined them into Microsoft Defender for Cloud. For a detailed history, see Azure Defender vs. Azure Security Center.
Here is how the old and new names map:
| Capability | Old name | Today |
|---|---|---|
| Posture checks, recommendations, secure score | Azure Security Center | Foundational CSPM (free) |
| Threat detection for servers, SQL, storage | Azure Defender | Defender plans (paid) |
| Advanced posture, attack paths, agentless scanning | Not available | Defender CSPM (paid) |
The free tier gives you recommendations, secure score, and the Microsoft cloud security benchmark. The paid plans add threat detection and deeper analysis. According to Microsoft, the service also covers AWS and Google Cloud accounts, which helps multi-cloud teams.
The service works at the Azure subscription level, the billing and governance boundary for your resources. If that term is new, read what an Azure subscription is. You need the right role to change settings, so confirm yours with how to check your permissions in the Azure portal.
Pro Tip: In my experience, I explain the rename to auditors in one sentence: “Security Center is now Defender for Cloud.” That avoids confusion in compliance meetings.
Understand Secure Score and Recommendations
Secure score is a percentage that summarizes your posture. Each recommendation belongs to a security control, and fixing resources raises the score. A higher score means fewer known weaknesses. It does not mean you are fully protected, because it only measures what the service can check.
A recommendation is a specific action, such as “Storage accounts should restrict public access” or “Management ports should be closed on virtual machines.” Each one lists the affected resources, the severity, and remediation steps.
Use this order when you review them:
- Start with high-severity items on internet-facing resources.
- Fix identity problems, such as missing multifactor authentication.
- Close network exposure, such as open management ports.
- Handle encryption and logging gaps.
- Leave low-impact items for a later sprint.
Many recommendations map to guides you may already know. Public storage connects to Azure storage account public access and how to secure an Azure storage account. Open ports connect to what an NSG is and how to open ports on an Azure VM, which shows what to avoid.
Pro Tip: I sort recommendations by severity and then by number of affected resources. Fixing one policy setting that clears 40 resources beats fixing 40 resources by hand.
Enable and Configure It Step by Step
Foundational CSPM turns on automatically for Azure subscriptions. Your job is to review settings and enable only the paid plans that match your workloads.
Step 1: Open the service. In the Azure portal, search for Microsoft Defender for Cloud, then open Environment settings and select your subscription.
Step 2: Review the plans. Open Defender plans and see which workloads are covered. Turning plans on increases costs, so enable the ones that match real workloads first, such as servers, storage, databases, and Key Vault.
Step 3: Check from the command line. List the current plans and their tiers:
az account set --subscription "<subscription-name-or-id>"
az security pricing list \
--query "[].{Plan:name, Tier:pricingTier}" \
--output tableThe first command selects the subscription. The second lists each Defender plan and shows whether it is Free or Standard. The --query filter keeps the output short. Run this first so you know what is already paid for.
Step 4: Enable a plan on purpose. This command turns on Defender for Storage. It starts billing for that plan, so confirm the scope first.
az security pricing create \
--name StorageAccounts \
--tier standardThe --name value picks the plan, and --tier standard turns on the paid protection. Use az security pricing list afterward to verify the change.
For Azure PowerShell, the same check looks like this:
$SubscriptionId = "<subscription-id>"
Set-AzContext -SubscriptionId $SubscriptionId
Get-AzSecurityPricing | Select-Object Name, PricingTierSet-AzContext selects the subscription, and Get-AzSecurityPricing lists plans and tiers. If you are new to scripting Azure, the Azure PowerShell tutorial is a good start.
Pro Tip: I enable paid plans on production subscriptions first, then expand to test after reviewing the alert volume. Turning everything on everywhere is the fastest way to a surprise bill.
Set Up Alerts, Export, and Monitoring
The service creates security alerts when it detects suspicious activity, such as brute-force attempts against a virtual machine. An alert is only useful if someone sees it.
Do these three things:
- Configure email notifications: In Environment settings, open Email notifications and set contacts for high-severity alerts. Use a monitored team mailbox, not one person’s inbox.
- Turn on continuous export: Microsoft documents that you can stream alerts and recommendations to a Log Analytics workspace or an event hub. Filter to high-severity alerts if volume is a concern.
- Connect to monitoring: Exported data lands in tables such as
SecurityAlertandSecurityRecommendation, so you can query it and build alerts. Learn the base tools in what Azure Monitor does.
For larger teams, send alerts to a SIEM (security information and event management) tool. Microsoft Sentinel can ingest Defender data and run automated responses.
You can also list alerts from the command line:
az security alert list \
--query "[].{Name:alertDisplayName, Severity:severity, Status:status}" \
--output tableThis returns alert names, severity, and status for the current subscription. It is read-only. Use it to confirm that alerts exist before you build automation.
Pro Tip: I test the alert path by looking at an actual alert and tracing who received it. If nobody can show me the email, the notification setup is not finished.
Cost Control and Governance
The free posture features cost nothing, but paid plans bill per protected resource and vary by plan. I will not quote prices here, because they change by plan, region, and usage. Check the official pricing page for your configuration.
To keep spend predictable:
- Enable plans by workload need, and review them each quarter.
- Use Azure budget alerts to watch security spend.
- Apply Azure tags so you can group costs by team or project.
- Review wider savings habits in the Azure cost optimization best practices.
Governance makes fixes stick. Use Azure Policy best practices to block risky settings, such as public storage, before they ship. Group subscriptions with management groups so one policy covers many. A landing zone builds these controls in from the start.
Pro Tip: I turn recurring recommendations into Azure Policy rules. When the same finding shows up for the fifth time, it is a policy gap, not a one-off mistake.
Common Problems and Fixes
- Secure score does not change after a fix: Assessments refresh on a schedule, so wait and recheck rather than assuming the fix failed.
- No recommendations appear: Check that the resource provider is registered and that your account has Reader access or higher.
- Too many alerts: Tune with severity filters and suppression rules, and keep high-severity notifications on.
- Unexpected charges: Run
az security pricing listand compare enabled plans with your intent. - A recommendation breaks an app: Test changes in non-production first, especially network rules and encryption settings.