Microsoft recommended security configurations (all products)
Status: verified. Last verified: 21 Nov 2026.
Every product guide in this repo includes a Best-practice security configuration section right after setup. This page pulls all 38 products into one scannable cheat sheet so you can see the top controls Microsoft recommends before (or while) you turn on logging.
For deep-dive hardening across all Microsoft Defender products (MDE, MDO, MDI, MDCA, Defender CSPM, Defender for Servers, SQL, Storage, Containers, Key Vault, App Service, APIs, Resource Manager and AI Services), see Defender best-practice security configurations.
Identity
| Product |
Top Microsoft recommended controls |
Guide section |
| Microsoft Entra ID |
Phishing-resistant MFA + Conditional Access (block legacy auth), PIM for all admin roles, two cloud-only FIDO2 break-glass accounts, disable unrestricted end-user OAuth consent |
Entra ID |
| Microsoft Entra ID Protection |
Conditional Access user-risk policy (password change + MFA on High) and sign-in risk policy (MFA/block on Medium+); workload identity risk policy if licensed |
Entra ID Protection |
| Microsoft Defender for Identity |
Sensor on 100% of DCs, AD FS and AD CS servers; required 4662/4776 auditing; Sensitive and Honeytoken tags; gMSA action account + automatic attack disruption |
Defender for Identity |
| Active Directory (on-premises) |
Tier-0 isolation & PAWs, Protected Users group, minimal permanent Domain Admins, enforce LDAP/SMB signing & channel binding, disable NTLMv1/SMBv1 and unconstrained delegation |
AD DS |
| AD FS |
Enable Extranet Smart Lockout, treat AD FS servers as Tier-0 with MDI sensors, disable unused legacy endpoints, plan migration to Entra cloud auth |
AD FS |
| Global Secure Access |
Conditional Access Compliant network check (prevents token replay outside tunnel), web filtering, least-privilege Private Access segments, source IP restoration |
Global Secure Access |
Endpoint
| Product |
Top Microsoft recommended controls |
Guide section |
| Microsoft Defender for Endpoint |
Tamper Protection On, EDR in block mode On, ASR rules (Audit then Block), Network Protection & PUA Block, Block at First Sight (High/High+), AIR Full, automatic attack disruption |
Defender for Endpoint |
| Windows clients |
Intune Windows & MDE Security Baselines, Credential Guard + HVCI, Windows LAPS + remove local admin rights, BitLocker + PowerShell 4104 logging |
Windows clients |
| Microsoft Intune |
Enrolment restrictions, compliance policies enforced by Conditional Access, Multi-Admin Approval (MAA) for wipes/scripts, scoped RBAC |
Intune |
Email, collaboration and cloud apps
| Product |
Top Microsoft recommended controls |
Guide section |
| Exchange Online |
Keep Basic Auth & unused SMTP AUTH disabled, block automatic external forwarding, use Exchange RBAC for Applications, enforce SPF/DKIM/DMARC (p=reject) |
Exchange Online |
| Microsoft Defender for Office 365 |
Standard preset for all users & Strict preset for execs/admins, Safe Links (click tracking on, no click-through), Safe Attachments Dynamic Delivery + SPO/Teams, ZAP On |
Defender for Office 365 |
| SharePoint Online & OneDrive |
Restrict Anyone/anonymous links (short expiry), default to Specific people, browser-only on unmanaged devices, idle session sign-out, sensitivity labels on sites |
SharePoint & OneDrive |
| Microsoft Teams |
Allow-list external federated domains (instead of open federation), require approval for third-party apps, enforce meeting lobby, Safe Links & ZAP for Teams |
Teams |
| Microsoft Purview unified audit |
Confirm UnifiedAuditLogIngestionEnabled = True, set explicit Audit (Premium) retention policies, grant analysts View-Only Audit Logs |
Purview unified audit |
| Microsoft Defender for Cloud Apps |
Connect M365 + cloud/SaaS apps, enable native MDE Cloud Discovery, turn on App Governance OAuth policies, Conditional Access App Control session policies |
Defender for Cloud Apps |
Azure
| Product |
Top Microsoft recommended controls |
Guide section |
| Azure Activity |
Management-group Azure Policy (Microsoft Cloud Security Benchmark + diagnostic settings), Entra PIM for Owner/Contributor, CanNotDelete locks on critical workspaces |
Azure Activity |
| Microsoft Defender for Cloud & CSPM |
Defender CSPM (agentless CVE + secret scanning, Attack Path Analysis, Sensitive data discovery), Governance rules with SLAs, core workload plans + multi-cloud/DevOps onboarding |
Defender for Cloud |
| Azure Key Vault |
Defender for Key Vault, soft-delete + purge protection on all prod vaults, Azure RBAC (not legacy access policies), Private Endpoints |
Key Vault |
| Azure Storage |
Modern Defender for Storage + Malware Scanning on upload accounts (Event Grid quarantine), Sensitive Data Threat Detection, disable anonymous blob & shared key access, TLS 1.2+ |
Storage |
| Azure SQL |
Defender for Azure SQL, Express Vulnerability Assessment baseline, Advanced Threat Protection, Entra-only auth, disable Allow Azure Services, Private Endpoints + TLS 1.2+ |
Azure SQL |
| Azure Kubernetes Service (AKS) |
Defender for Containers (agentless + eBPF sensor), ACR image scanning, Azure Policy Kubernetes restricted pod security, Entra RBAC (--disable-local-accounts), private API server |
AKS |
| Azure networking |
Azure Firewall Premium (Threat Intel & IDPS Alert and deny), WAF in Prevention mode, migrate NSG flow logs to VNet flow logs before 30 Sep 2027, DDoS Network Protection |
Azure networking |
| Azure App Service & Functions |
Defender for App Service, disable FTP & SCM basic auth (deploy via Entra/OIDC), HTTPS-only, TLS 1.2+, Managed Identities + Key Vault references |
App Service & Functions |
Data security
| Product |
Top Microsoft recommended controls |
Guide section |
| Microsoft Purview DLP |
Progressive rollout (Simulation → Block with override → Block), cover M365 + Endpoint DLP + MDCA, protect DLP admin roles with PIM |
Purview DLP |
| Microsoft Purview Insider Risk |
Separate Admin vs Investigator roles, keep pseudonymisation in Purview (HR/Legal sign-off before XDR sharing), connect HR leaver feed, use Adaptive Protection |
Insider Risk |
| Microsoft Purview Information Protection |
Keep taxonomy to 4 to 5 top-level labels, set default label + downgrade justification, enable container labels (Teams/SPO) and auto-labelling |
Information Protection |
Business applications and AI
| Product |
Top Microsoft recommended controls |
Guide section |
| Power Platform |
Tenant-wide Data (DLP) policies blocking consumer/raw HTTP connectors, Tenant Isolation, Managed Environments sharing caps, environment security groups |
Power Platform |
| Dataverse & Dynamics 365 |
Environment security groups, least-privilege custom roles + column-level security, IP firewall & cookie binding, Managed Identities/certs for app users |
Dataverse & Dynamics 365 |
| Microsoft Copilot Studio |
Block Chat without Microsoft Entra ID authentication connector in DLP, require Entra auth on internal agents, restrict grounding sources, Defender Agent 365 posture |
Copilot Studio |
| Microsoft 365 Copilot |
Remediate SharePoint oversharing first (Restricted SharePoint Search & site access reviews), enable Purview DSPM for AI + sensitivity labels, govern plugins via allow-list |
Microsoft 365 Copilot |
| Microsoft Foundry & Azure OpenAI |
Defender for AI Services, Content Safety Prompt Shields (direct + indirect), disable local API keys (disableLocalAuth = true), Private Endpoints |
Foundry & Azure OpenAI |
DevOps, servers and multi-cloud
| Product |
Top Microsoft recommended controls |
Guide section |
| GitHub (Enterprise Cloud) |
Entra SAML SSO / EMU + 2FA, Secret scanning push protection, branch rulesets, OIDC federated cloud deploys (no static keys), pin Actions to SHAs, fine-grained PAT approval |
GitHub |
| Azure DevOps |
Entra-backed orgs + Conditional Access validation, restrict PAT creation/lifetimes, migrate service connections to Workload Identity Federation (OIDC), branch & environment approvals |
Azure DevOps |
| Windows Server |
Defender for Servers Plan 2 (MDE + AMA auto-provisioning, agentless scanning, FIM via AMA, JIT VM access / Bastion), Tamper Protection + EDR block mode + ASR |
Windows Server |
| Linux (Syslog, CEF & auditd) |
Defender for Servers Plan 2 (MDE on Linux + agentless scanning + FIM + JIT), SSH key-only auth (PermitRootLogin no), restrict Syslog forwarder port 514 & use TLS |
Linux |
| SQL Server (on-premises & IaaS) |
Azure Arc + Defender for SQL on machines, approved Vulnerability Assessment baseline, disable sa / prefer Windows or Entra auth, TLS 1.2+ |
SQL Server |
| Amazon Web Services |
Hardware MFA on root (zero root keys), Entra federation via IAM Identity Center, org-wide CloudTrail + GuardDuty, S3 Block Public Access, IMDSv2, Defender CSPM |
AWS |
| Google Cloud |
Entra workforce federation, Workload Identity Federation (disable JSON SA keys), org-level log sinks + SCC, uniform bucket access + public access prevention, Defender CSPM |
Google Cloud |
Last verified
21 Nov 2026, against Microsoft Learn, GitHub Docs, AWS Docs and Google Cloud Docs.