Skip to content
All articles
Security & Compliance 13 min read22 Jul 2026

Security & Compliance: Defender, Purview, MFA, Conditional Access & Zero Trust

A layered security program: Microsoft Defender, Purview eDiscovery, MFA and Conditional Access, Zero Trust, HIPAA/GDPR/SOC 2 and incident response.

91346810110210111010010111434443480117114118105101119344434777065344434671111101001051161051111109710832659999101115115344434901011141113284114117115116344434727380656534936979109112
Illustrated preview for: Security & Compliance: Defender, Purview, MFA, Conditional Access & Zero Trust

Layered security, not a single product

No single product makes an environment secure. A defensible program layers identity controls, endpoint protection, email security, data governance, monitoring and a tested incident response plan. The tools (Defender, Purview, Entra ID, Intune) are the implementation; the architecture is Zero Trust — never trust, always verify, assume breach.

Microsoft Defender threat protection

The Defender suite spans endpoints (Defender for Endpoint), identity (Defender for Identity), Office 365 (Defender for Office 365) and Cloud Apps (Defender for Cloud Apps). Apply the preset Standard and Strict policies in Defender for Office 365 before hand-tuning. Enable attack surface reduction rules in Defender for Endpoint, and turn on automated investigation and remediation for high-confidence threats.

  • Apply preset Standard/Strict policies before custom rules
  • Enable Safe Links for internal mail, not just inbound
  • Turn on ASR rules in block mode after auditing
  • Enable automated investigation for high-confidence detections

Purview compliance and eDiscovery

Microsoft Purview is the compliance operating layer. Use retention labels for content lifecycle, sensitivity labels to mark and protect confidential data, and DLP policies to stop risky sharing. For investigations, use Purview eDiscovery (Standard for routine, Premium for large or custodian-heavy cases). Enable unified audit logging on day one — you cannot retroactively audit what was never logged.

Purview capabilityPurposeStart with
Retention labelsContent lifecycleOne label per business value
Sensitivity labelsMark + protect confidential dataPublic/Internal/Confidential
DLPStop risky sharingOne high-value policy (e.g. credit cards)
eDiscoveryLegal/HR investigationsStandard; Premium for large cases
AuditInvestigation baselineEnable on day one

MFA and Conditional Access policies

Conditional Access is where identity security actually lives. Build a baseline that requires MFA for all admins, blocks legacy authentication, and requires compliant devices for sensitive apps. Then layer report-only policies to measure impact before enforcing. Use authentication strength to require phishing-resistant MFA (FIDO2, Windows Hello) for admins and passwordless for users where possible.

PowerShell — Create a Conditional Access policy (Graph)
Connect-MgGraph -Scopes "Policy.ReadWrite.ConditionalAccess"
$params = @{
  displayName = "Require MFA for admins"
  state = "enabled"
  conditions = @{ roles = @("62e90394-69f5-4237-9190-012177145f10") }
  grantControls = @{ operator = "OR"; builtInControls = @("mfa") }
}
New-MgIdentityConditionalAccessPolicy -BodyParameter $params

Zero Trust security architecture

Zero Trust is not a product — it is a set of principles: verify explicitly, use least-privilege access, and assume breach. In practice that means identity as the primary perimeter (Entra ID + Conditional Access), device compliance gating access (Intune), micro-segmentation of networks, and continuous monitoring. Every access decision is evaluated at request time, not granted once at the network edge.

  • Verify explicitly — identity, device, risk at every request
  • Least-privilege access — JIT/JEA for admin roles
  • Assume breach — segment, monitor, contain
  • Device compliance gates access via Intune + Conditional Access

Compliance frameworks: HIPAA, GDPR, SOC 2

Map controls to the framework, then implement once and evidence for many. HIPAA governs healthcare PHI (encryption, access controls, audit, BAAs with vendors). GDPR governs EU personal data (lawful basis, data subject rights, breach notification in 72 hours, DPIAs). SOC 2 governs service organisation security (the Trust Services Criteria — security, availability, processing integrity, confidentiality, privacy). Use Microsoft Purview Compliance Manager to track control implementation across frameworks.

FrameworkScopeKey obligation
HIPAAUS healthcare PHIEncryption, BAAs, audit, breach notification
GDPREU personal dataLawful basis, DSAR, 72h breach notice, DPIA
SOC 2Service organisationsTrust Services Criteria + auditor attestation
ISO 27001Infosec management systemRisk-based ISMS + certification

Security incident response

An incident response plan that has never been tested is a hope, not a plan. Define roles (incident lead, comms, forensics), severity levels and escalation paths. Run tabletop exercises quarterly and a full technical drill annually. Integrate alerts from Defender, Sentinel and the SIEM into a single queue with clear ownership and SLAs. Post-incident, run a blameless retrospective and update the runbook.

  • Define IR roles, severity levels and escalation paths
  • Tabletop quarterly, full technical drill annually
  • Single alert queue with ownership and SLAs
  • Blameless retrospective after every incident — update the runbook

Lessons learned

  • Layer controls — no single product makes you secure
  • Enable unified audit logging on day one
  • Require phishing-resistant MFA for admins
  • Test the incident response plan — an untested plan is a hope

Implementation notes & field experience

The sections below consolidate additional field-tested detail and troubleshooting drawn from production engagements, merged here so the complete picture lives in one place.

Start with the email perimeter

Exchange Online Protection (EOP) is the baseline — anti-malware, anti-spam and connection filtering. Defender for Office 365 Plan 1 adds Safe Links and Safe Attachments; Plan 2 adds threat hunting and automated investigation. Enable Safe Links for internal mail too, not just inbound — lateral phishing is real.

Turn on the preset security policies (Standard and Strict) before hand-tuning rules. They give a defensible baseline in minutes and cover most threats without bespoke configuration.

Purview for data governance

Microsoft Purview is where compliance becomes operational. Use retention labels to classify content by business value, sensitivity labels to mark and protect confidential data, and Data Loss Prevention policies to stop risky sharing before it happens.

Start with one or two high-value DLP policies (e.g. credit card numbers in Exchange and SharePoint) rather than a blanket policy that generates noise. Tune the incident reports so the SOC sees actionable alerts, not a flood.

Audit and eDiscovery readiness

Enable unified audit logging early — it is off by default in some tenants and you cannot retroactively audit what was never logged. Confirm audit retention meets your regulatory requirement (Purview Audit Premium extends to 1 or 10 years).

Privileged access: PIM, separate admin accounts and break-glass

Privileged access is where a security programme is won or lost, because an attacker with admin rights bypasses most of the controls below them. The baseline is separate admin accounts: a person's daily account has no admin rights anywhere, and their admin account is used only for administrative work. That single separation kills the whole class of compromises where malware running in a user's browsing session inherits domain-admin tokens.

Above the baseline, Entra ID Privileged Identity Management (PIM) removes standing privilege entirely: an admin activates a role when they need it, for a bounded window, with a justification and ideally an approval. Just-in-time activation means there is no permanent admin role for an attacker to steal, and the activation log becomes an audit trail of who did what. Scope roles as narrowly as the work allows — a Global Administrator for a task that needs an Exchange Administrator is standing risk with no benefit.

Keep two break-glass accounts that are excluded from Conditional Access and from PIM, cloud-only, with passwords stored offline in a vault or sealed envelope, and alert whenever either signs in. The break-glass path is what lets you recover when MFA, Conditional Access or the identity platform itself is the thing that is broken — and it is the control most often forgotten until it is needed.

  • Separate daily and administrative accounts for everyone with elevated rights
  • Move admin roles into PIM with just-in-time activation and approval
  • Scope each role assignment to the narrowest role that covers the task
  • Keep two vaulted break-glass accounts, excluded from CA, alerted on sign-in

Attack surface reduction and patch discipline

Attack surface reduction (ASR) rules in Defender for Endpoint block the specific behaviours most attacks rely on — Office applications creating child processes, scripts from obfuscated entry points, credential stealing from the local security authority — and they are the highest-value hardening most tenants never fully enable. The disciplined rollout is audit mode first for two to four weeks, review the events for legitimate processes that would have been blocked, add exclusions for those, then move the rules to block mode in stages. Turning every rule on in block mode on a Friday afternoon is how hardening projects get rolled back.

Patching discipline is still the foundation underneath every other control. The practical approach is exposure-driven: internet-facing systems and endpoints get the fastest cadence, server internals follow on a fixed monthly cycle, and anything that cannot be patched gets compensating controls or a decommissioning date. Defender Vulnerability Management (or an equivalent) turns the patch list into a prioritised one by weighting severity against actual exposure and the age of the vulnerability — which matters when the list is longer than the team.

Legacy systems that cannot be patched deserve an explicit decision rather than silent acceptance: segment them, restrict what can reach them, put them behind a jump host, and give them a retirement date. An unpatched 2012 server on the same VLAN as workstations is not a legacy system, it is an open door with a sign on it.

  • Roll ASR rules out in audit mode first, add exclusions, then block in stages
  • Patch by exposure: internet-facing first, fixed monthly cycle for server internals
  • Use vulnerability management to prioritise, not just to list
  • Give every unpatchable system compensating controls and a retirement date

Measuring the programme: Secure Score and trend lines

A security programme that is not measured drifts, and the cheapest honest measurement in a Microsoft estate is Secure Score. It is not a grade to be maximised for its own sake — chasing points produces silly configurations — but the trend line over quarters is a fair indicator of whether the control set is actually improving. Review the score monthly, investigate the movements in both directions, and use the recommended-actions list as a backlog source alongside vulnerability findings.

Pair the score with a small set of operational metrics that reflect real risk: the percentage of admin accounts that are PIM-activated rather than standing, MFA coverage across the estate, mean time to patch internet-facing systems, and the phishing report rate. A one-page quarterly review of those numbers, with owners against any that moved the wrong way, keeps the programme honest without turning it into a reporting exercise.

Phishing simulations and awareness that actually works

Awareness training works when it is specific, short and repeated, not when it is an annual hour-long video. The most effective programmes train on the attacks the organisation actually receives — credential phishing against the finance team, invoice-fraud patterns against accounts payable — in sessions measured in minutes, several times a year. Simulations should mirror those same patterns and be followed by immediate, blame-free coaching for anyone who clicked.

The metric that matters is not the click rate, it is the report rate: how many people who received something suspicious reported it rather than deleting or ignoring it. Make reporting effortless — the report-phishing button in Outlook, a security contact that answers — and publicly thank good catches. A workforce that reports fast is a detection layer no budget can buy, and it compounds with every incident handled well.

  • Train on the attack patterns the organisation actually receives, in short sessions
  • Measure report rate, not just click rate
  • Make reporting one click and respond to every report
  • Keep simulations blame-free — the goal is reporting behaviour, not shame

Written by

Jamshed Alam

Global MSP & IT Infrastructure Consultant with 20 years across Exchange, Microsoft 365, Azure, security and automation. Available for project and contract work worldwide.

Share
JA

Jamshed Alam

Global MSP | IT Infrastructure Consultant | Cloud & Automation Expert · Lahore, Pakistan

EmailLinkedInUpworkGuru© 2026 Jamshed Alam