Security & identity
Entra ID, Conditional Access, Zero Trust access and privileged account control.
Most breaches start with an identity: a reused password, a phished session token, an over-privileged admin. These guides cover Microsoft Entra ID, Conditional Access, MFA and passwordless sign-in, privileged access, Defender and Purview — with the error codes and policy settings you actually meet.
They are written so you can roll a control out safely: report-only first, exclusions for break-glass accounts, and a way back if something breaks.
Start here
Decommissioning Legacy VPNs: A Zero-Trust Remote Access Architecture for the Enterprise
A reference architecture for replacing castle-and-moat VPN perimeters with identity-centric Zero Trust using Microsoft Entra ID P2, Zscaler Private Access and Continuous Access Evaluation.
Least-privilege Entra admin roles: replacing Global Administrator
Map everyday admin tasks to the smallest Microsoft Entra role, audit current assignments with Graph PowerShell, and cut Global Administrator assignments.
Break-glass accounts in Entra ID: a lockout-proof Conditional Access setup
Create two emergency access accounts in Microsoft Entra ID, protect them with FIDO2 passkeys, exclude them safely from Conditional Access, and alert on every sign-in with Azure Monitor.
Migrate legacy Entra ID Protection risk policies to Conditional Access
The legacy user risk and sign-in risk policies in Entra ID Protection reached their 1 October 2026 retirement date. Rebuild them in Conditional Access, test in report-only and switch them on.
Microsoft 365 audit log search: who deleted, shared or forwarded what
Use Microsoft Purview Audit and Search-UnifiedAuditLog to find who deleted a file, shared a link, purged email or created a forwarding rule, then export and read the AuditData.
Migrate from AD FS to Entra cloud authentication with staged rollout
Move federated Microsoft Entra domains from AD FS to password hash sync or pass-through authentication, pilot with staged rollout, cut over each domain and retire AD FS.
All 95 guides, newest first
CVE-2026-112732 Visio RCE: Check Your Office Build and Update
Microsoft added Critical Office Visio flaw CVE-2026-112732 (CVSS 9.8) to November 2026. See who is affected, how to check your Office build and what to do.
Entra Choose Your Own Telephony Provider: set up CYOT and BYOT
Microsoft Entra now supports CYOT and BYOT for SMS and voice MFA. See who needs it, the requirements, the setup steps and the 1 February 2027 deadline.
EU AI Act AI Literacy Rule (Article 4): What Companies Using ChatGPT or Copilot Must Do
What Article 4 of the EU AI Act requires of companies that use ChatGPT or Copilot, who it reaches outside the EU, and a simple training and policy plan.
Secrets in AI assistant transcripts: how to audit and clean them
AI coding assistants keep full conversation logs on disk. Any API key or token pasted into a chat stays there in plain text. How to scan those logs, rotate what leaked, and stop it happening again.
Why a private Git repository is not a secret store
Putting API keys in a private repository feels safe and is not. Permanent history, flat access and weaker scanning coverage all work against it. What to use instead, and when an encrypted archive is the right answer.
Cisco Expressway CVE-2026-76466 Exploited: Check Your Cluster and Patch
CISA flagged Cisco Expressway CVE-2026-76466 (CVSS 9.8) as exploited. See who is affected, the fixed release, what Cisco has and has not said, and what to do now.
GL.iNet GoodCloud Compromise: Check Your Router or KVM and Update
GL.iNet says a cloud flaw let an attacker install malware on some routers and KVMs. Check yours for the indicator, update to the security firmware, clean up.
Manage Windows Server With Intune (Preview): Enrollment and First Policies
Enroll a nonproduction Windows Server Insider build in Intune, check eligibility, and apply first compliance, update, settings catalog and Win32 app policies, with the preview's limits.
Windows Server 2028 Hardened Server Core: Test Legacy Apps and Relax Settings
Test legacy workloads against the Windows Server 2028 preview's hardened Server Core baseline, then relax only the categories they need with Microsoft's cmdlets.
Microsoft agent-framework 1.26.1/1.26.2 PyPI Stealer: What to Do
Two hijacked agent-framework releases on PyPI ran a credential stealer at Python startup. Check your installs, rotate secrets and rebuild from 1.26.0.
SonicWall Gen 6 Firewalls Get No More Patches: What to Do Now
SonicWall says Gen 6 firewalls will get no firmware or security patches, even for Critical flaws. Find your model's end-of-support date and what to do now.
WhatsApp CVE-2026-23871: Update Android and Check for Scam Messages
WhatsApp patched three flaws in November 2026, one on Android that it says may have been abused with spam messages. Which versions are fixed and what to do.
Drupal SA-CORE-2026-017 RCE: Check Your Site and Update to Fixed Versions
Drupal fixed a critical install.php remote code execution flaw (CVE-2026-132165) on 18 Nov 2026. See affected versions, how to block the installer, and how to update.
Find the Source of AD Account Lockouts with ManageEngine ADAudit Plus
Trace which device, service, scheduled task or mapped drive keeps locking an Active Directory account: event 4740 first, then the ADAudit Plus Account Lockout Analyzer, plus fixes.
ManageEngine PAM360 High Availability: Architecture, Setup Steps and Port Requirements
Choose the right PAM360 high availability model, follow the documented PostgreSQL and SQL Server setup steps, open the correct ports and confirm in the console that HA is alive.
State of Email Security for Small Businesses 2026: 6,129 Domains Checked
An original EpiFive study of SPF, DMARC, MTA-STS, BIMI and DNSSEC on 6,129 small-business domains in 11 countries, with the full aggregate data as a CSV.
UK NCSC Fridge Controller Operation: What Businesses Should Check Now
What the UK fridge and freezer controller scare means for any business with remotely managed refrigeration, and how to check and close internet exposure today.
VMware vCenter CVE-2026-123890: Check If You Are Hit and Patch Now
Broadcom fixed a critical vCenter authentication bypass on 19 Nov 2026. Google says it was exploited since early September. Check exposure, patch, hunt.
Apache Roller CVE-2026-129448 Exploited: Am I Affected and What to Do
Apache says a critical Roller XML-RPC flaw, CVE-2026-129448, is being actively exploited. Check your version, upgrade to 6.1.6 or later, or apply the documented workaround.
Java4Shell (CVE-2026-114938): Check Exposure, Patch and Apply the Workaround
A defensive guide to Java4Shell (CVE-2026-114938): how to check your Java version and CPU, which builds fix it, and the interim JVM flag until you patch.
NGINX HTTP/2 Flaw CVE-2026-123007: Fixed Versions, Workaround and Patch Steps
Check whether your NGINX is affected by CVE-2026-123007, upgrade to 1.31.9 or 1.30.7, or turn HTTP/2 off as a stopgap, then restart and verify.
November 2026 Patch Tuesday: 1,093 CVEs, Outlook Zero-Day, What to Patch First
Microsoft's November 2026 Patch Tuesday fixes 1,093 CVEs, 63 Critical, plus an exploited Outlook zero-day. KB numbers, known issues and a patch order for admins.
PHP Security Release 19 November 2026: Fixed Versions and How to Update
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix several critical flaws. Find the fixed version for your branch, check your setup, and update safely.
Oracle November 2026 CSPU: What to Patch First (WebLogic, Java, EBS)
Oracle's November 2026 Critical Security Patch Update fixes 640 CVEs. A patch-order guide for admins: Fusion Middleware, Java runtimes, then EBS and Database, plus version checks.
Google GTIG: AI Agents Exploit Patches, What to Check and Do Now
Google's threat intelligence group says attackers now use AI agents to build exploits from patches. See what was reported, who is exposed and what to do.
Defender for Identity RCE and pass-the-hash alerts retire: migrate
Microsoft Defender for Identity retires two classic alerts, Remote code execution attempt and pass-the-hash, by late November 2026. See what to check and how to replace them.
Apache HTTP Server HTTP/2 RCE (CVE-2026-119618): Check and Patch
Apache HTTP Server 2.4.55 through 2.4.70 has a critical mod_http2 flaw, CVE-2026-119618. Learn how to check whether you are exposed, upgrade to 2.4.71 or disable HTTP/2.
Defender advanced hunting API retirement: move to Graph runHuntingQuery
The Defender for Endpoint and Defender XDR advanced hunting APIs stop working on 1 February 2027 (MC1220762). Find callers, switch to Microsoft Graph runHuntingQuery and ThreatHunting.Read.All.
Hijacked GitHub Accounts Ran a CI Secret Stealer: Check Your Repos Now
Thousands of hijacked GitHub accounts pushed the wfx-loot CI secret stealer into repositories. Check for the published indicators, rotate secrets and remove cloud backdoors.
Someone is sending email from your domain: how to stop it with DMARC
Confirm whether your domain is being spoofed or your account is compromised, read the evidence in headers and DMARC reports, then lock the domain down with SPF, DKIM and DMARC p=reject.
Security Defaults vs Conditional Access: Which Fits a Small Business?
Security defaults or Conditional Access for a small business? See what each enforces, the licenses needed, and how to switch without locking out admins.
Conditional Access Report-Only Mode: Test Policies Before You Enforce Them
Create a Conditional Access policy in report-only mode, read the results in sign-in logs, the insights workbook and Log Analytics, and switch it to On without locking users out.
Entra App Registration vs Enterprise Application: The Difference
App registrations are the global application object; enterprise applications are the service principal in your tenant. Learn which to use and how to find each.
Conditional Access Named Locations: Set Up Trusted IPs and Countries
Create IP range and country named locations in Microsoft Entra, mark trusted locations, and use them in Conditional Access policies without common mistakes such as proxy and VPN IP mismatches.
Entra SSPR Registration and Lockout Problems: Troubleshooting Guide
Fix Microsoft Entra self-service password reset errors: not enabled, not licensed, missing methods, throttled for 24 hours, admin two-gate policy and writeback failures.
Entra Workload Identity Federation for GitHub Actions: Secretless Azure Login
Replace stored Azure client secrets with OpenID Connect. Create a federated credential on an Entra app, set the right subject, and log in from GitHub Actions with azure/login.
Windows LAPS with Entra ID and Intune: rotate local admin passwords
Enable Windows LAPS in Microsoft Entra ID, deploy an Intune policy that backs up and rotates the local administrator password, and retrieve it securely.
Entra Password Protection for On-Premises AD: Deploy Agents Step by Step
Block weak and organization-specific passwords on Active Directory domain controllers with the Entra Password Protection proxy and DC agent, starting in audit mode.
Zero Trust identity and device access policies: the recommended Conditional Access set
Microsoft's recommended Conditional Access, Intune app protection and device compliance baseline, in deployment order, with licensing, exclusions and rollout safeguards.
Restricted management administrative units: protect executive and admin accounts
Create a restricted management administrative unit in Microsoft Entra ID, add sensitive users, devices and groups, and limit who can modify them.
Least-privilege Entra admin roles: replacing Global Administrator
Map everyday admin tasks to the smallest Microsoft Entra role, audit current assignments with Graph PowerShell, and cut Global Administrator assignments.
Send Entra Sign-in and Audit Logs to Log Analytics for Retention
Route Microsoft Entra sign-in and audit logs to a Log Analytics workspace, set table retention beyond 30 days, and query or restore old data later.
Defender XDR Advanced Hunting KQL Queries for Identity Attacks
Hunt password spray, MFA fatigue and suspicious Entra sign-ins with KQL in Defender XDR advanced hunting, then turn the queries into custom detections.
Investigating AiTM Phishing and Token Theft in Entra Sign-in Logs
Scope an adversary-in-the-middle phishing incident with Entra sign-in logs, ID Protection detections and KQL, then contain it, remove attacker persistence and close the gaps.
A Microsoft 365 tenant security baseline you can apply in a day
Harden a new or existing Microsoft 365 tenant in one working day: emergency access, admin roles, MFA and legacy auth, app consent, email protection, external forwarding, audit logging and Secure Score.
AADSTS50076, 50079 and 50158: fix Microsoft Entra MFA sign-in errors
What AADSTS50076, AADSTS50079 and AADSTS50158 mean, how to find the policy that demanded MFA in the Entra sign-in logs, and how to fix each one for users, scripts and federated domains.
AADSTS53003 blocked by Conditional Access: find the policy and fix it
Troubleshoot AADSTS53003 in Microsoft Entra ID: trace the correlation ID to the sign-in log, identify the blocking Conditional Access policy, and fix the user, device or policy without weakening security.
Attack surface reduction rules: move from audit mode to block safely
Roll out Microsoft Defender attack surface reduction rules in rings: audit first, read the data in advanced hunting, add narrow exclusions, then block.
Azure mandatory MFA phase 2: fix CLI, PowerShell and Terraform sign-ins
Phase 2 of Azure mandatory MFA blocks create, update and delete calls from user accounts without MFA. Find the scripts that break and move them to managed identities, service principals or OIDC.
Block legacy authentication in Microsoft 365 without breaking printers
Find every device and app that still signs in with legacy authentication, move printers and scanners to a supported sending method, then block legacy auth with Conditional Access.
Break-glass accounts in Entra ID: a lockout-proof Conditional Access setup
Create two emergency access accounts in Microsoft Entra ID, protect them with FIDO2 passkeys, exclude them safely from Conditional Access, and alert on every sign-in with Azure Monitor.
Build Purview DLP policies for Exchange, SharePoint, Teams and devices
Step-by-step Microsoft Purview DLP setup that stops card numbers and PII leaking through email, SharePoint, OneDrive, Teams chat and Windows or macOS devices, with a safe simulation rollout.
Compromised Microsoft 365 account runbook: contain, investigate, recover
A step-by-step runbook for a confirmed Microsoft 365 account takeover: disable and revoke, remove attacker persistence, scope the breach with audit logs and restore the user safely.
Conditional Access All resources exclusions: test the 2026 change
Since June 2026, Conditional Access enforces All resources policies with exclusions on sign-ins that request only baseline scopes. Find the affected apps, test them and choose an enforcement setting.
Conditional Access for AI agents: secure Entra Agent ID sign-ins
Apply Conditional Access to AI agents in Microsoft Entra: block unapproved and risky agent identities, protect agent user accounts, and keep on-behalf-of access covered by user policies.
Conditional Access token protection: stop stolen token replay
Bind Microsoft 365 sign-in sessions to the device with Conditional Access token protection: supported apps, report-only rollout, sign-in log status codes, KQL and exclusions.
Configure Entra certificate-based authentication with smart cards and PKI
Set up native Microsoft Entra certificate-based authentication: upload your PKI, publish reachable CRLs, bind certificates to users and enforce CBA as phishing-resistant MFA.
Defender for Office 365 anti-phishing: stop CEO fraud and lookalike domains
Configure impersonation, mailbox intelligence and spoof protection in Defender for Office 365 anti-phishing policies to stop executive and lookalike-domain phishing.
Deploy Defender for Identity sensors on domain controllers and AD CS
Choose between sensor v3.x and v2.x, activate or install Microsoft Defender for Identity on domain controllers and AD CS servers, configure the auditing it needs, and confirm the data arrives.
Deploy passkeys in Entra ID: Authenticator, Windows Hello and FIDO2 keys
Roll out phishing-resistant passwordless sign-in in Microsoft Entra ID with passkey profiles, passkeys in Microsoft Authenticator, FIDO2 security keys, Windows Hello for Business and authentication strengths.
Deploy Purview sensitivity labels: encryption, defaults and auto-labeling
Plan, create and publish Microsoft Purview sensitivity labels, add encryption safely, set default and mandatory labeling, and roll out auto-labeling with simulation.
dsregcmd /status Explained: Fix Entra Hybrid Join Failures
What every dsregcmd /status field means, and how to read it to find out why a domain-joined Windows device won't Microsoft Entra hybrid join.
Entra Cloud Sync vs Connect Sync - choose an engine and migrate safely
Compare Microsoft Entra Cloud Sync and Entra Connect Sync feature by feature, check migration readiness, and move with the guided tool or a phased OU pilot.
Entra cross-tenant access settings: trust partner MFA, devices and apps
Configure Microsoft Entra cross-tenant access settings for a partner: scope inbound and outbound B2B access, trust their MFA and device claims, and enforce Conditional Access for partner users.
Entra ID dynamic groups: rule syntax and examples that actually work
Write Microsoft Entra ID dynamic membership rules for users and devices: syntax, operators, tested examples for HR attributes, licences and Autopilot, validation, processing status and fixes for common rule errors.
Entra SMS and voice MFA retirement: move users to passkeys before 2027
Microsoft-provided SMS and voice MFA in Entra ID retires on 1 February 2027 (1 July 2027 for Global Administrators and external users). Find affected users, move them to passkeys and clean up policies.
Entra SSPR with password writeback: setup and the registered-methods change
Set up Microsoft Entra self-service password reset with writeback to Active Directory through Entra Connect or Cloud Sync, and get users ready for SSPR accepting only registered methods.
Find and remove malicious inbox and forwarding rules after a BEC
After a compromised mailbox, find hidden inbox rules, SMTP forwarding and delegate access in Exchange Online, remove them safely and block external auto-forwarding so the attacker can't come back.
Fix ApplicationManagedBy isn't set and AADSTS700027 in Entra Connect Sync
Repair broken application-based authentication on Entra Connect Sync servers: restore cleared connector parameters, separate servers that share one app, and recover from expired certificates.
Fix email false positives with submissions and the Tenant Allow/Block List
Release wrongly blocked email in Microsoft 365 the safe way: admin submissions, expiring Tenant Allow/Block List allow entries, and the allow methods to avoid.
Fix Entra Connect AttributeValueMustBeUnique and duplicate proxy addresses
Find which object already holds the duplicated proxyAddresses or userPrincipalName value, remove it from the right side, and confirm the next Entra Connect sync exports cleanly.
Litigation hold vs retention policy vs eDiscovery hold for Exchange
Which preservation method to use for Exchange Online mailboxes: how Litigation Hold, Purview retention policies and eDiscovery holds differ, how to apply each, and how to see which holds a mailbox has.
Microsoft 365 audit log search: who deleted, shared or forwarded what
Use Microsoft Purview Audit and Search-UnifiedAuditLog to find who deleted a file, shared a link, purged email or created a forwarding rule, then export and read the AuditData.
Migrate Defender for Cloud Apps file policies to Purview DLP before 2027
Defender for Cloud Apps file policies retire on 6 January 2027. Inventory them, run the DLP to Purview migration tool, rebuild what it can't move and cut over without a protection gap.
Migrate from AD FS to Entra cloud authentication with staged rollout
Move federated Microsoft Entra domains from AD FS to password hash sync or pass-through authentication, pilot with staged rollout, cut over each domain and retire AD FS.
Migrate legacy Entra ID Protection risk policies to Conditional Access
The legacy user risk and sign-in risk policies in Entra ID Protection reached their 1 October 2026 retirement date. Rebuild them in Conditional Access, test in report-only and switch them on.
Onboard Windows devices to Defender for Endpoint with Intune step by step
Connect Microsoft Intune to Defender for Endpoint, deploy an EDR onboarding policy to Windows devices, and verify sensor health on the device, in the Defender portal and with advanced hunting.
PIM for Groups and access reviews: govern privileged group membership
Put privileged Microsoft Entra groups under PIM for Groups so membership is eligible and time-bound, protect activation, and recertify members with access reviews.
Plan a Microsoft 365 MFA rollout with Conditional Access and Authenticator
A phased plan to require MFA for every Microsoft 365 user: pick security defaults or Conditional Access, set authentication methods, drive registration, pilot in report-only mode, then enforce.
Purview eDiscovery: run cases, legal holds, searches and exports
A practical walkthrough of the unified eDiscovery experience in the Microsoft Purview portal: permissions, cases, hold policies, searches, statistics and exports, with limits and fixes.
Purview retention policies and labels: meet retention, avoid data loss
How Microsoft Purview retention policies and retention labels work across Exchange, SharePoint, OneDrive and Teams, which settings win, and how to roll them out without deleting content by accident.
Replace an Entra Connect sync server with a staging mode swing migration
Move Microsoft Entra Connect Sync to a new server without a sync outage: build it in staging mode, import the configuration, verify pending exports, then switch roles.
Replace Conditional Access custom controls with external MFA in Entra ID
Conditional Access custom controls are frozen and retire in 2027. Move Duo or another third-party MFA provider to external MFA, switch policies to the MFA grant and remove the custom control.
Report expiring Entra app secrets and certificates with Graph PowerShell
Build a Microsoft Graph PowerShell report of every client secret and certificate on Entra app registrations and service principals, find which ones are in use, and rotate them before they expire.
Require compliant devices for Microsoft 365 with Conditional Access
Build Intune compliance policies for Windows and iOS, mark unassigned devices noncompliant, then require a compliant device in Conditional Access without locking users out.
Require phishing-resistant MFA for admins with authentication strengths
Use Conditional Access authentication strengths to require passkeys (FIDO2), Windows Hello for Business or certificate-based authentication for Microsoft Entra admin roles, including PIM activation.
Restore deleted Conditional Access policies with Entra Backup and Recovery
Recover deleted or misconfigured Conditional Access policies, named locations and other Entra objects using soft delete, difference reports and targeted recovery jobs in Microsoft Entra Backup and Recovery.
Safe Links and Safe Attachments in Defender for Office 365, explained
How Safe Links and Safe Attachments policies protect email, Teams and Office files, how Built-in protection differs from Standard and Strict, and how to configure, test and troubleshoot them.
Set up Entra Privileged Identity Management for just-in-time admin roles
Replace standing admin access with eligible role assignments in Microsoft Entra PIM: inventory current admins, configure role settings, assign, activate, and monitor Entra and Azure roles.
Stop illicit consent grants with user consent settings and admin approval
Restrict which apps users can consent to in Microsoft Entra ID, route everything else through the admin consent workflow, and find and revoke risky OAuth grants that already exist.
Stop Microsoft 365 Copilot using labelled files with Purview DLP
Use the Purview DLP location for Microsoft 365 Copilot, sensitivity labels without the EXTRACT right and Restricted Content Discovery to keep confidential files and prompts out of Copilot responses.
Temporary Access Pass in Entra ID: passwordless onboarding and recovery
Use a Temporary Access Pass in Microsoft Entra ID to onboard new users straight to passkeys and Windows Hello, and to recover users who lost their MFA method, without ever handing out a password.
Troubleshoot Conditional Access with the What If tool and sign-in logs
Find out why a Conditional Access policy did or did not apply to a sign-in by reading the sign-in log, simulating it with What If, and querying results at scale.
Upgrade Entra Connect Sync to 2.6 with application-based authentication
Entra Connect Sync must run 2.6.84.0 or later with application-based authentication by 7 April 2027. Check each server, upgrade safely, switch to the app identity and remove the old sync account.
Decommissioning Legacy VPNs: A Zero-Trust Remote Access Architecture for the Enterprise
A reference architecture for replacing castle-and-moat VPN perimeters with identity-centric Zero Trust using Microsoft Entra ID P2, Zscaler Private Access and Continuous Access Evaluation.