Design a Zero-Trust Security Architecture for an Enterprise
A Staff-level walkthrough of a zero-trust enterprise architecture that replaces perimeter trust with continuous verification of every access request — built on a conditional-access policy engine, Continuous Access Evaluation, device-compliance tiers, network micro-segmentation, and an automated SecOps loop across 100K+ employees and 5,000+ apps. It trades authentication latency and user friction against breach blast-radius and least-privilege enforcement. Follow it top to bottom, or jump to any step.
Scope & ambiguity
“Zero trust is not a product — it’s an architecture paradigm. The core challenge is moving from a perimeter-based ’castle and moat’ model to a model where every access request is continuously verified across identity, device, network, application, and data layers — at enterprise scale with 100K+ employees, thousands of applications, and a hybrid multi-cloud footprint. I’ll focus on the policy engine design, identity-centric access architecture, and the security operations automation that ties it all together.”
Phases:
Teams:
Requirements
Functional
- FR1: Every access request authenticated and authorized regardless of network location (no implicit trust from VPN/corporate network)
- FR2: Conditional access policies evaluated in real-time using signals: user identity, device compliance, location, risk level, application sensitivity
- FR3: Continuous Access Evaluation — revoke sessions in near-real-time on security events (password change, account disable, location change)
- FR4: Device health attestation required before granting access to sensitive resources
- FR5: Privileged access managed via just-in-time elevation with approval workflows and time-bound sessions
- FR6: All data classified by sensitivity level with DLP policies enforced at rest, in transit, and in use
- FR7: Centralized SIEM with automated threat detection and response (SOAR) across all security signals
- FR8: Network micro-segmentation — each application/service individually authenticated, no lateral movement
Non-Functional
Back-of-envelope estimation
Scale Metrics
Cost Breakdown
Key insight: The $8.5M/month seems high but represents ~$85/employee/month for comprehensive zero-trust security. Industry average cost of a data breach for a 100K-employee enterprise is $150M+. The security investment pays for itself if it prevents even a fraction of one major breach per year. The largest cost driver is Intune device management — BYOD policies and tiered device requirements can reduce this by 30-40%.
API design
External API (Admin & Policy Management)
Inter-Service Events (Azure Event Hub / Service Bus)
API Governance
- Versioning: Microsoft Graph API v1.0 (stable) + beta (preview) for external; gRPC with Protobuf for internal
- Rate limiting: 10,000 requests/min per admin, 100 requests/min for policy simulation (compute-intensive)
- Authentication: All admin APIs require Entra ID token with appropriate admin role + PIM activation for write operations
Data model
High-level architecture
Architecture Diagram
Failure Domain Analysis
Deep dives
WHERE STAFF IS WON6.1 Zero-Trust Principles and Pillars
6.2 Conditional Access Policy Engine — The Heart of Zero Trust
The Conditional Access (CA) engine is the central Policy Decision Point (PDP) — every access request flows through it.
Policy Evaluation Algorithm:
Example Conditional Access Policies for 100K Enterprise:
6.3 Continuous Access Evaluation (CAE)
Traditional token model vs. CAE:
6.4 Identity & Authentication Architecture
Passwordless Authentication Strategy:
Why passwordless matters — attack surface reduction:
Authentication Architecture:
6.5 Device Trust & Compliance
Device Trust Tiers:
Device Compliance Policy Evaluation:
6.6 Network Micro-Segmentation
Traditional VPN vs. Zero-Trust Network:
Implementation Architecture:
6.7 Data Classification & Protection (Microsoft Purview)
Classification Framework:
DLP Architecture:
6.8 SIEM & XDR — Security Operations Architecture
Signal Flow Architecture:
Defender XDR Correlation — Multi-Stage Attack Detection:
SOC Tier Model:
6.9 Privileged Access Management (PIM/PAM)
Tiered Administrative Model:
PIM Activation Flow:
6.10 Policy Engine Design — Signal Collection & Evaluation Architecture
6.11 Incident Response Automation
Automated Response Decision Framework:
Incident Response Playbook — Compromised User Account:
Multi-Team Rollout
1. Identity Foundation (Weeks 1-8): Deploy Entra ID as sole IdP for all apps. Enforce MFA on all users (start with Authenticator push, target passwordless). Implement baseline conditional access policies (block legacy auth, require MFA, block high-risk sign-ins). Migrate top-50 apps to Entra ID SSO. Identity Platform Team leads, all teams adopt.
1. Device Compliance (Weeks 5-14): Enroll all corporate devices in Intune. Define compliance baselines per OS (Windows, macOS, iOS, Android). Conditional access: require compliant device for sensitive apps (start in report-only mode for 4 weeks, then enforce). Establish BYOD MAM policies. Endpoint Security Team leads.
1. Network Segmentation (Weeks 10-20): Deploy Azure Firewall in hub VNet. Implement spoke VNet isolation for production, dev, management. Convert top-20 internal apps from VPN access to Entra Application Proxy / Private Access. Retire VPN for cloud-app access. Network Security Team leads.
1. Data Protection (Weeks 14-24): Deploy sensitivity labels and DLP policies in monitor-only mode. Classify top data repositories. Enable DLP enforcement (Exchange first, then SharePoint, then endpoint). Deploy Purview for data discovery and classification. Data Protection Team leads.
1. Security Operations (Weeks 8-24): Connect all log sources to Sentinel. Deploy Defender XDR suite (Endpoint + Identity + O365 + Cloud). Enable top-50 analytics rules. Build initial SOAR playbooks (account compromise, malware detection, data exfiltration). Train SOC team. SecOps Team leads.
1. Privileged Access (Weeks 16-28): Implement PIM for all admin roles. Eliminate standing admin access (move to JIT). Deploy PAW stations for Tier 0 admins. Implement break-glass account procedures. Privileged Access Team leads.
1. Continuous Evaluation & Passwordless (Weeks 20-32): Enable CAE for all Entra-integrated apps. Roll out FIDO2 keys to all admins and executives. Windows Hello for Business deployment to all managed devices. Target: 80% passwordless adoption within 6 months. Identity Platform Team leads.
Bottlenecks & evolution
2-3 Year Evolution
Year 1: Foundation and Enforcement
Deploy the complete zero-trust stack: Entra ID as the universal identity plane, conditional access as the policy engine, Intune for device compliance, network segmentation replacing VPN, and Sentinel for centralized security monitoring. Achieve 100% MFA coverage, 80%+ passwordless adoption among knowledge workers, and elimination of standing admin privileges. All critical applications integrated with conditional access. SOC operating with automated Tier 0 response for top-10 attack patterns. Retire legacy VPN concentrators for cloud application access. Establish security posture baseline via Microsoft Secure Score (target: 75+/100).
Year 2: Intelligence and Automation
Shift from rule-based to ML-driven security operations. Deploy advanced UEBA (User and Entity Behavior Analytics) to establish per-user behavioral baselines — anomaly detection moves beyond impossible-travel to detecting subtle changes in data access patterns, working hours, and collaboration behavior. Expand SOAR automation to cover 80% of incident types with fully automated containment. Implement Adaptive Protection (dynamic DLP policy adjustment based on insider risk score — higher risk users get stricter DLP controls automatically). Deploy decentralized identity for B2B collaboration (verifiable credentials for external partner onboarding without guest accounts). Expand zero-trust to OT/IoT devices (manufacturing, building systems) via Defender for IoT. Achieve Secure Score 85+/100.
Year 3: Autonomous Security and Zero Standing Access
Target fully autonomous security operations where AI agents handle 95% of incidents without human intervention. Deploy security copilot agents that perform investigation, triage, and response with human oversight only for novel attack patterns. Implement zero standing access across the entire organization — every privileged action requires JIT elevation with full session recording. Adopt confidential computing for processing sensitive workloads (data encrypted even during processing via Azure Confidential VMs / secure enclaves). Implement cross-organization zero-trust mesh for supply chain security (verifiable attestations from vendors and partners). Adopt post-quantum cryptographic algorithms for long-term data protection (NIST PQC standards). Target: zero successful account compromises leading to data breach, mean time to contain < 60 seconds for all automated scenarios.
Rubric — Senior vs Staff
Want more breakdowns like this?
Join free early access for upcoming RAG, LLM eval, agents, and AI infrastructure walkthroughs.