222 Intune policies across Windows, Windows Server, macOS and Linux, built to replace a paid registry-level hardening agent. Every policy carries its NIST SP 800-53 control and ISO 27001 clause, the 24 that will change somebody's working day each have a written decision, and nothing reaches the whole fleet until a pilot ring has run clean.
Built from running commercial hardening agents at an MSSP, and from wanting the same outcome natively, with the audit mapping built in rather than bolted on.
Every NIST and ISO value is copied verbatim from the source workbook. Where the workbook holds nothing, the policy is marked UNMAPPED and the cells stay blank. No control was derived from a policy's name or filled in by analogy, which is why coverage reports as 89% rather than 100%.
Where it stands. The 212 Windows, Server and Linux policies have been deployed to a live test tenant and verified, with the bugs that took to find written up in section 08. The 188 Windows workstation policies were then tested on virtual machines: 182 applied cleanly, and the rest are covered in section 08. The 10 macOS profiles wait on a tenant-specific Defender onboarding file. It isn't yet running in a business.
The MSSP I work in runs commercial hardening agents that operate at the registry level. They work. This started as a question about whether the same outcome was reachable natively, and turned into a different question halfway through.
The first half is the obvious one. A paid agent is another thing installed on every endpoint, another console, another renewal, and another vendor between you and the operating system. Intune can set most of the same things through the settings catalogue and Endpoint Security profiles, with no agent to deploy and no separate licence. That part is just an architecture and cost argument, and it's not very interesting.
The second half is the one that changed the build. Both the agent and the raw CIS benchmark answer the same question: how hardened is this device, scored against a benchmark. That's a useful number and it is not audit evidence. When an auditor arrives they don't ask for a CIS score. They ask you to evidence AC-11, or Annex A 8.7, and a benchmark score doesn't answer that question in either direction.
So every policy in this build carries its NIST SP 800-53 Rev 5 control and its ISO/IEC 27001:2022 clause. Across 222 policies that resolves to 31 distinct NIST controls and 16 ISO clauses. The hardening work doubles as the audit evidence rather than sitting in a separate spreadsheet nobody opens until the week before an assessment.
I'm working through NIST and ISO properly at the moment, and mapping 222 real policies to real controls is a far better way to learn a framework than reading it. You find out quickly which controls are thin, which ones several policies pile onto, and which ones nothing in an endpoint baseline touches at all.
Terraform owns the who. Microsoft Graph owns the what. That split is the one place this differs in shape from my Conditional Access baseline rather than just in content.
The Conditional Access build is one terraform apply start to finish. This one isn't, and the reason is narrower than "Terraform wasn't right for it."
Terraform deploys the device assignment groups. Plain Entra objects, handled identically by any provider, and exactly the kind of interdependent thing state and ordering are good at. A PowerShell deploy script calls Microsoft Graph for the 222 policies, with request bodies generated from the source pack on every build rather than hand-edited. Assignments wire up by group display name, so no GUIDs get copied between the two tools by hand.
Because there isn't an official one. configurationPolicies, deviceConfigurations, intents and compliancePolicies aren't resources that hashicorp/azuread or hashicorp/azurerm know how to manage, and the gap is tracked and unresolved. The providers that do cover Intune are small community projects wrapping the same beta Graph API this deploy script calls directly.
So the question isn't Terraform versus PowerShell. It's whether to put a third-party dependency in the path, and there were four reasons not to:
| Cost of a community provider | What it buys instead |
|---|---|
| Its code runs with app-only credentials against every customer tenant | Microsoft's own Graph PowerShell authentication module, calling the REST contract Microsoft documents directly rather than depending on the fast-changing beta cmdlet module. Nobody unvetted sits between the deploy and a tenant |
| "Our tooling depends on a solo-maintained GitHub project" is a hard sentence in a NIST and ISO-mapped engagement | "Microsoft's SDK and HashiCorp's own provider" is a clean one, and it's the same answer the Conditional Access baseline already gives |
| Beta Graph endpoints change often, and a small provider can lag a fix by weeks | Request bodies come straight from the source pack, so there's no intermediate schema waiting on somebody else's release |
| It breaks a precedent already set | The CA baseline pushed its one Terraform-unsupported object out to a scripted step rather than reach for a workaround provider. Same rule here, at 222 objects instead of one |
Everything Terraform would have given for free had to be built. No plan diff before anything touches a tenant. No state file. No idempotency out of the box. The deploy script finds each policy by name and either creates or updates it, a separate verification script stands in for drift detection, and an offline replay of the whole deploy against a mocked Graph stands in for plan. That's more code to own, and section 08 is what owning it looked like the first time it met a real tenant.
One app registration serves both tools, scoped to three Graph application permissions (DeviceManagementConfiguration.ReadWrite.All, Group.ReadWrite.All and Application.Read.All, deliberately with no managed-device or app permissions), and it gets deleted at the end of every engagement rather than at the end of the demo.
The reason is specific rather than hygienic. DeviceManagementConfiguration.ReadWrite.All is a tenant-wide application permission. It isn't scoped to the 222 policies this deployment touches, it reaches everything. A live credential with that much reach sitting unused between engagements is precisely the orphaned automation access a security review exists to find.
The baseline outlives the credential. Groups and policies are independent objects, so deleting the app registration doesn't touch them. What goes away is the standing ability to reconfigure a customer's tenant from outside their own admin workflow. Coming back later means a fresh registration: the deploy script recognises the policies already there by name and updates them in place of creating duplicates.
The credential is handled the same way at every step. Terraform's credentials live only in the current terminal session, never in a saved profile, so a live secret doesn't sit around after the tab closes. Every customer gets a fresh copy of the project in its own folder, which is what stops last week's customer config or a stale secret being applied against the wrong tenant. At close-out the deletion of the app registration is confirmed by querying for it rather than trusting the click, and the local secret file, customer config and Terraform state come out of the customer folder once the engagement record has what it needs. A dead secret sitting in a folder is still a dead secret sitting in a folder.
A licensing check runs first. It stops outright if the tenant has no Intune, and warns if Defender for Endpoint isn't there, because the Defender policies will still create in Intune but the agent side won't do anything and that's a scoping conversation, not an error. The customer config is validated before a single Graph call, and refuses to proceed while any of the values that differ per tenant still hold a placeholder. The whole pack replays offline before it touches a tenant. Rollout stage defaults to Pilot, and the flag that puts the riskiest Attack Surface Reduction rules into audit mode defaults to on, so enforcement is something you ask for rather than something you forget to prevent.
All of it is written up as a deployment guide for an engineer who has never run the project, taking an empty machine to a deployed tenant in roughly 100 to 140 minutes on a first run. Terraform isn't assumed, and every step is tagged by where it happens: the terminal, the deploy script, the portal or a file.
It isn't a Windows workstation baseline. Five platforms, two browsers, and Defender for Endpoint on everything that can run it.
| Platform | Policies | Notes |
|---|---|---|
| Windows 11 | 81 | CIS benchmark hardening, ASR, credential protection, audit and logging |
| Microsoft Edge | 79 | The largest single block, and where the user-facing pain concentrates |
| Windows Server | 21 | Defender for Endpoint, server-appropriate rather than workstation settings copied across |
| macOS | 10 | Defender for Endpoint plus platform best practice, delivered as custom configuration profiles |
| Google Chrome | 6 | CIS browser benchmark, because nobody runs one browser |
| Linux | 1 | Defender for Endpoint. Thin, and named as thin |
| Unmapped | 24 | Deploy correctly, no framework documentation. See section 06 |
This is the workbook's platform view, so Edge and Chrome sit apart from Windows and the 24 unmapped policies have their own row. The deploy routes by category instead, which gives 188 workstation, 22 Server, 10 macOS and 2 Linux. Both are right: the one Server policy missing from this table is unmapped.
Defender for Endpoint accounts for 61 of the 222, split across Windows and Linux, Windows Server, and macOS. That's the part most Intune hardening packs leave out entirely, because MDE configuration usually lives in its own console and its own project. Folding it in means one baseline covers the endpoint agent and the operating system underneath it rather than assuming somebody else did half the job.
| Where the policies sit | Count |
|---|---|
| Edge CIS benchmark | 77 |
| Windows CIS benchmark hardening | 30 |
| Defender for Endpoint, Windows and Linux | 29 |
| Defender for Endpoint, Windows Server | 22 |
| Audit and logging | 11 |
| Defender for Endpoint, macOS | 10 |
| Privacy and AI data governance | 9 |
| Patch management · passwordless · Chrome CIS · modern workplace and resilience | 20 |
| Data encryption · tenant and account access · removable media · identity · firewall | 14 |
Nine policies cover privacy and AI data governance, which didn't exist as a category in an endpoint baseline two years ago and now has to. Copilot, Click To Do and Recall are all configurable, and all of them are decisions with a licensing consequence rather than security defaults you can quietly switch off.
They arrive as five different Graph object shapes: 202 settings catalogue policies, 10 macOS custom configuration profiles, 7 legacy device configurations, 2 Endpoint Security intents and 1 compliance policy. Each shape has its own endpoint and its own rules for what an update is allowed to change. A pack that's genuinely one object type is a folder import, and this isn't.
| # | Category | Policies | What's in it |
|---|---|---|---|
| 01 | Defender for Endpoint | 29 | Windows and Linux. ASR rules, AV, SmartScreen, the MDE device tag |
| 02 | Windows CIS hardening | 30 | UAC, Credential Guard, LSA, Protected Print, NTLM and SMB |
| 03 | Audit and logging | 11 | Advanced audit policy, event log sizes |
| 04 | Identity and auth | 2 | Includes the Account Protection intent |
| 05 | Tenant and account access | 3 | OneDrive and Teams tenant restrictions |
| 06 | Data encryption | 4 | BitLocker intent, BitLocker To Go, and the Linux compliance policy |
| 07 | Firewall and network | 2 | Firewall profiles, WinRM basic auth off |
| 08 | Removable media | 3 | Device Control, USB write deny, DMA |
| 09 | Patch management | 5 | Update rings, feature update deferral |
| 10 | Privacy and AI governance | 9 | Copilot, Click To Do, Recall. A licensing decision |
| 11 | Edge CIS | 77 | The biggest block and most of the user pain |
| 12 | Passwordless | 5 | Windows Hello for Business and FIDO |
| 13 | Chrome CIS | 5 | Extension allow list and site isolation |
| 14 | Modern workplace | 5 | Health monitoring, Quick Machine Recovery |
| 15 | Defender, Windows Server | 22 | Server ASR including a constructed Exchange webshell rule. No dynamic tier |
| 16 | Defender, macOS | 10 | Custom configuration profiles with a fixed deploy order |
| Shape | # | Create | Update |
|---|---|---|---|
| Settings catalogue | 202 | POST the body | Recreate: create new, assign, delete old. Settings can't be patched |
| Compliance | 1 | POST, then scheduled actions (block after a 24h grace) | Same recreate path. Not yet exercised live |
| Legacy device configuration | 7 | POST the body | PATCH works here |
| Endpoint Security intent | 2 | One createInstance call, settings in settingsDelta | PATCH name and description, then updateSettings with settings |
| macOS custom configuration | 10 | Built from a base64 .mobileconfig payload | PATCH, via the legacy path |
Every shape then goes through the same /assign call, and /assign replaces the whole assignment set rather than appending to it. That's why moving a tier is a clean swap rather than an accumulation of groups, and why the include and the break-glass exclusion always go in the same request.
Most hardening guidance is written for a generic Windows fleet. Nobody has a generic fleet.
The client profile this was scoped against has CAD engineers with large-format plotters and licence dongles, a small dev team running VMs and build scripts, and a couple of hundred office staff whose day depends on the browser behaving the way it did yesterday. The same policy nobody notices on an office laptop will stop a plotter dead, or leave a developer unable to start a VM with no way to fix it remotely.
So all 222 got read for operational impact, and 24 came out as controls that change something a user or a service desk will notice. Not what the policy could theoretically do. What this specific configuration does, to these people, on these machines.
A High on the register means it's likely to generate calls. It doesn't mean the control matters more. Conflating those two is how hardening projects end up arguing about the wrong thing, because the security team reads severity as importance and the IT manager reads it as risk to the business, and they're having different conversations without noticing.
The other 198 deploy quietly and need nothing from anyone. That ratio is the useful number to hand an IT manager, because "we're deploying 222 hardening policies" sounds like a fleet-wide outage waiting to happen, and "24 of these will change how your people work, here they are" is a conversation you can actually have.
Each of the 24 goes back to the client with the same four options.
The register is a customer-facing document, and I run through it with the customer's IT manager before anything goes near a device. It opens with why we're asking first: a fair chunk of this would break something, and they'd otherwise find out from their users rather than from us. It explains the pilot, static and dynamic rollout in their terms, and that break-glass devices are excluded at every stage. Where CIS offers Level 1 and Level 2, L1 is the default and L2 is treated as a decision rather than an automatic yes.
It also asks the two questions that sit outside the register: where they stand on local admin rights, including whether LAPS or an admin-by-request tool is in place, and what their Defender device tag should be. When it comes back, the pilot is scoped to their answers. Compensating controls are recorded against the relevant NIST and ISO controls so framework coverage stays evidenced, and accepted risks go on their risk register with the owner and review date they've given. We'd still expect the pilot to surface one or two things the document didn't predict, which is exactly what it's for.
The impact is acceptable. Switch it on.
Switch it on, exclude a named group. Usually the CAD workstations or the dev team. The exception is recorded, not remembered.
Don't deploy it, because something already in the stack covers the same risk. Name that control and it gets recorded against the framework mapping, so the audit position stays intact without paying the operational cost. This is the option most registers don't offer, and it's the one that gets a hardening project signed off.
Don't deploy it, and nothing else covers it. Completely legitimate, and it needs a named owner and a review date, because without those it becomes an audit finding rather than a decision.
Blank is also an allowed answer, and it's more useful than a guess. An IT manager who isn't sure whether their meeting rooms rely on browser casting should say so rather than pick one, because that uncertainty is the thing the pilot is for.
The reason four options beats two is that "deploy or don't" forces every contested control into a fight between security and productivity. Options three and four turn most of those into a record instead. Something already covers this, or somebody owns the fact that nothing does.
Four of the 24, to show the shape. Each one is a control worth having and a real cost, which is exactly why it can't be decided from outside the business.
Writing these up properly is most of the work. The register says what breaks, who it hits, what the user will report it as, whether the desk should treat it as expected or a fault, and when it first bites. That last column matters more than it looks, because a control that fails the first time someone tries to upload a file lands very differently from one that fails quietly three weeks later.
| # | Control | Severity | What it costs |
|---|---|---|---|
| 01 | Windows Protected Print Mode | High | Plotters and MFP finishing (staple, booklet, PIN release) stop on day one |
| 02 | UAC auto-deny for standard users | High | No prompt to type admin creds into. Needs LAPS or admin-by-request first |
| 03 | Credential Guard with UEFI lock | High | Only fix is physical firmware access. Suggest piloting without the lock |
| 04 | Device Control on removable media | High | No USB writes. DMA block can hit Thunderbolt docks on CAD machines |
| 05 | Extension allow lists, Edge and Chrome | High | Default deny. VPN clients, password managers, accessibility tools blocked unless listed |
| 06 | Edge file selection dialogs blocked (L2) | High | No upload or attach in the browser. Most disruptive for office staff |
| 07 | Edge microphone blocked (L2) | High | Browser Teams, Zoom, Meet have no audio. Guests and BYOD hit it |
| 08 | Edge screen capture blocked (L2) | High | Browser screen share stops. Can break the desk's own remote support |
| 09 | NTLMv2 only, SMBv1 off, SMB signing | High | Scan-to-folder MFPs, old NAS. Signing slows big CAD assemblies |
| 10 | WHfB with multi-factor unlock | High | No TPM 2.0 means it silently stays on passwords. Towers lack biometrics |
| 11 | Windows Security app hidden | Medium | Users can't see protection state. Desk loses a triage step |
| 12 | Edge cert warning override off (L2) | Medium | Self-signed admin pages (NAS, printers, licence servers) unreachable |
| 13 | Defender cloud protection High Plus | Medium | Niche CAD plugins flagged, no local exclusions, network scan latency |
| 14 | LSA protection with UEFI lock | Medium | Same reversal problem. Breaks some SSO agents and RMM helpers |
| 15 | ASR: unsigned processes from USB | Medium | Only ASR rule shipping in block mode. Catches dongle helpers |
| 16 | WinRM basic auth off | Medium | Most likely to break your own management tooling. Check first |
| 17 | Edge password manager, sync, import off | Medium | Password reset spike unless a corporate manager is in use |
| 18 | Edge ClickOnce, DirectInvoke, IE mode | Medium | Legacy ERP or document management launches break |
| 19 | BitLocker To Go | Medium | Unencrypted USB goes read-only. Stacks with 04 |
| 20 | Copilot in Windows off | Medium | Removes paid M365 Copilot. Business decision, never deployed unconfirmed |
| 21 | Controlled Folder Access, audit | Low | Blocks nothing. Notifications users call virus warnings |
| 22 | Screen lock after 15 min | Low | Locks during long renders or plots |
| 23 | RDP idle limit 15 min | Low | Only long jobs on shared boxes |
| 24 | Edge InPrivate, Cast, profiles off | Low | Meeting room casting, second profile for a client tenant |
Dropping the Edge L2 set is one decision that removes most of the user pain: 06, 07, 08 and 12 are all L2.
Two more artefacts sit behind the register: an operational impact view (who it hits, what the user reports, expected or fault, when it bites) and a service desk brief generated from the same source, so the two can't drift apart.
The framework values come from a source workbook that keys on policy name, while the pack keys on filename, and the two had drifted. Matching ran a ladder from strictest to loosest: exact string first, then whitespace normalisation, then punctuation, then rule-name prefixes. 164 matched exactly. 34 needed one of the looser rules. Every policy resolved deterministically to exactly one row, and the method used is recorded per policy so any mapping can be spot-checked rather than trusted.
24 policies have no framework mapping at all, because their workbook rows are numbered and entirely blank. They deploy correctly. What's missing is the documentation, and filling those cells by reasoning from the policy name would have been easy, fast, and completely wrong. A mapping invented by analogy is audit evidence that was manufactured rather than recorded, and it fails the moment someone checks it against the source.
So coverage reports as 89%. It would be trivial to make that number 100% and worthless.
| Match method | Policies | Meaning |
|---|---|---|
| Exact | 164 | Workbook name equals filename, character for character |
| Punctuation | 14 | After normalising punctuation, file extensions, timestamps and a mangled curly apostrophe |
| Whitespace | 10 | After collapsing double spaces and trimming |
| Prefix | 10 | After normalising a rule-name prefix |
| Unmapped | 24 | Workbook row numbered but blank |
One gap I found while writing this up. The build attaches the framework row to the release manifest by exact filename only, so the manifest carries NIST and ISO for 164 policies, not 198. The 34 looser matches exist only in the mapping workbook. Anything that reads framework data from the manifest would under-report coverage, so the manifest doesn't get described as 89% mapped until the matching ladder is ported into the build.
15 rows record a literal dash instead of a control, all Edge items, mostly browser-UX settings with no clean framework analogue. Those show as "(none recorded)", which means nothing was written down rather than no control applies. The distinction matters at audit.
And one policy is Level 2 in the workbook and Level 1 in its filename. One of the two is wrong, I haven't resolved which, and the mapping reports the workbook's value and flags the disagreement.
Three tiers, and each platform moves through them on its own timeline. Nothing is ever assigned to All Devices.
Every policy starts assigned to the pilot ring for its own platform, and nothing else. Windows workstations, Windows Server, macOS and Linux each have their own ring, so each runs its own soak clock and a problem on one doesn't hold up the others.
| Tier | Who's in it | How it grows |
|---|---|---|
| Pilot | A small, hand-picked set of devices per platform | By hand. The point is that you know every device in it by name |
| Static | A wider group per platform, still manual membership | A department at a time, after an agreed soak. Usually three to four weeks with no policy-related issues before the next wave |
| Dynamic | Every device of that platform, by membership rule | Automatically. This is production |
Moving a platform to the next tier is one re-run of the deploy with a different stage. The script re-points every policy for that platform in a single pass, and verification then confirms each one names the new tier's group and still excludes break-glass. That's deliberate, because moving 188 Windows policies to a wider group by hand is 188 chances to end up with 185 in the new wave and three left behind.
In the Entra provider, switching a group to dynamic membership is a change Terraform can only make by destroying the group and creating a new one. Intune assignments point at a group's ID, not its name, so converting in place would silently orphan every policy assigned to it. Promotion instead creates a separate dynamic group alongside the static one, which is purely additive. The static group stays, with its membership intact, as a record of who was in each wave and something to fall back to.
Waves go out by department, because tooling profile follows department rather than operating system. The CAD team is a distinct set of applications, peripherals and licence dongles. The dev team is another. Finance is another again. Rolling out alphabetically or by OS alone mixes those profiles together, and when something breaks you've lost the signal about whose tooling caused it.
Windows Server never goes dynamic. Arc-enrolled servers don't populate device attributes reliably enough to trust a membership rule with them, so servers stay on a managed list permanently. The deploy script warns rather than fails if you ask for it.
The pilot used to be one mixed ring. That was safe, since Intune only applies a policy to a matching platform, but it meant one soak clock for everything, and reporting showed 202 Windows policies "assigned" to Macs. Splitting it per platform removed a special case from the code. And a small trap for anyone building the macOS dynamic group: the membership rule is deviceOSType -eq "MacMDM", not "macOS".
macOS has its own ordering problem. The ten profiles carry a deploy order (system extension, network filter, full disk access, background services, notifications, accessibility, Bluetooth, auto-update, Defender, firewall), because the system extension and network filter approvals have to land before Defender tries to load, or users get prompts they can't action. The onboarding file comes fresh from each customer's Defender portal and can't be pre-built or reused.
Break-glass devices are excluded from every policy at every tier, and there's one break-glass group rather than one per platform. It's used mid-incident by whoever is on call, and the property that matters under pressure is that a device in it is excluded from everything, full stop. Four groups would create the failure where someone adds an emergency device to the Windows group while the policy actually biting is a server one.
The riskiest Attack Surface Reduction rules ship in audit mode, which logs what they would have blocked without blocking it. Controlled Folder Access is the main one, and it's the rule most likely to catch CAD autosave and backup agents. Audit mode turns "will this break something" from a guess into evidence from the actual environment. It has its own cost, because it raises Defender notifications that users report as virus warnings, so the service desk gets briefed before it lands.
Names lie, too. Several policies say "BLOCK" in the filename while the recommendation is audit first, so the audit flag follows the production note rather than the filename. The audit-mode switch is deliberately narrow, an explicit list of known encodings rather than a generic mode flipper, and it works both ways, so a reviewed pilot gets promoted to block with the same switch. Only one ASR rule ships in block mode for user-impact purposes: unsigned processes from USB.
The first deploy into a real tenant found things no amount of reading the documentation would have. The most useful one is a bug that didn't produce an error at all.
That line took one long day of runs to earn. Five things are worth telling:
settingsDelta. Updating one takes settings. It's easy to conflate, and I did.A deploy script that finds objects by name and creates or updates them has two code paths for every object type, and the update path doesn't run until the second time you deploy to a tenant. A first clean run proves half the code. Most of the bugs above had the same shape: a branch that had never executed, failing the first time it did. The first live engagement hit seven separate deploy failures, each discovered one run at a time, hours apart, and every one was findable offline. So the whole pack now replays offline against a mocked Graph in both create and update mode, across all three rollout tiers, before anything touches a tenant. It asserts on every request the script would send: each assignment carrying its tier group and the break-glass exclusion, customer values actually reaching the wire, no leftover placeholders, no over-length descriptions, and the documented endpoints and body parameter names being the ones used.
Verification can be trusted for a specific reason. It diffs the tenant against a manifest generated independently by the build from the source pack, not from anything the deploy script produces, so a bug in the deploy shows up as MISSING rather than being invisible to its own check.
What verification still can't tell you is whether a value is right for the customer. It confirms every policy exists, is assigned and excludes break-glass. It can't know a tenant ID is the correct one, because the manifest is generic by design. Those four policies get checked by eye in the portal before anything leaves Pilot.
These deploy "successfully" with placeholder values and quietly do the wrong thing. That's worse than failing, which is why the required ones are a hard stop.
| Policy | Value | If left as placeholder | Check |
|---|---|---|---|
| OneDrive tenant restriction | Tenant ID | OneDrive blocked except for the tenant in the source file | Required, throws |
| Teams tenant restriction | Tenant ID | Teams sign-in blocked tenant-wide | Required, throws |
| Edge extension management (L2) | Approved extension IDs | Everything blocked, zero approved. Every extension dies | Required, throws |
| Chrome extension allow list | Approved extension IDs | Same, for Chrome | Required, throws |
| macOS Defender onboarding | Onboarding file | Throws mid-run at the macOS category | Required only if macOS is in scope |
| Chrome site isolation | Isolated origins | A literal placeholder. Protects nothing | Optional, warns |
| Quick Machine Recovery | Wi-Fi name and password | A recovery network that doesn't exist | Optional, warns |
| What broke | Found by | Fix |
|---|---|---|
| Webshell ASR rule used a numeric value; Graph wants a word | Live 400 | Source JSON fixed, rebuilt, second substitution added |
| PATCH of settings on a catalogue policy | Live 400, first update run | Recreate: create, assign, delete old |
| Customer values never patched (underscore vs hyphen IDs) | Reading the code. No error ever | Keys corrected. Pilot was the only exposure |
| Quick Machine Recovery password sent as a string; schema wants a secret | Live 400 | Source fixed, made an optional customer value |
| Description 1,004 characters, limit 1,000 | Live 400 | Reworded to 962. Build now enforces and warns |
| Intents created via an undocumented endpoint | Offline audit | createInstance with settingsDelta |
| Audit-mode encoding didn't exist; switching it off was a no-op; verification signed in itself; a Chrome placeholder went unflagged | Offline replay | Real encodings, works both ways, shared session, placeholder scan |
| Clean pilot run: 212 checked, 0 missing, 0 unassigned, 0 missing the exclusion. All 5 shapes and the include and exclude body confirmed | ||
| Single mixed pilot ring | Design review | Split into 4 per-platform rings. Break-glass kept as one |
updateSettings sent settingsDelta; it wants settings | Live 400, first intent update | Fixed. Replay now asserts every action's body parameter |
The 188 Windows workstation policies were then applied to virtual machines and checked in Intune's per-policy device status report.
| Result | Policies | Which |
|---|---|---|
| Succeeded | 182 | Everything else |
| Conflict | 2 | FIDO security keys at Windows sign-in, and the Account Protection intent |
| Error | 1 | Quick Machine Recovery |
| Not applicable | 3 | Credential Guard, the Windows AI Settings Agent, Personal Data Encryption |
The FIDO one is the result a VM can't settle. It needs testing on a real device with a real security key, and in an environment where it suits the business use case, before anyone decides how it should be configured.
Most of this baseline assumes users are standard users rather than local administrators. Against a local admin, several of these controls are advisory rather than enforced.
That has to be asked up front, because it changes what the baseline actually delivers rather than how it's configured. If the CAD engineers and developers hold local admin because their tooling historically needed it, a large part of the hardening is a recommendation rather than a control, and anyone reading the coverage report would be misled about their own position.
The baseline doesn't manage local admin rights and doesn't enforce standard user. That's deliberate scope, and it's also the single biggest dependency the whole thing has.
It isn't in production. It's been deployed to and verified in a test tenant, and tested on virtual machines. It has no operational history in a business, and a pilot soak is where the semantic questions get answered.
It isn't certification. It maps to NIST and ISO. It certifies against neither, and a baseline that claims otherwise is selling something.
It isn't the compliance policies. Configuration policies harden the device. Compliance policies are what Conditional Access reads when deciding whether a device is trusted, and that's separate work. The one compliance policy in the pack is a Linux encryption check that reports, and doesn't enforce, and it's described that way.
It doesn't manage local administrator rights, which as above is the dependency that determines how much of it is enforced.
It isn't mobile. Desktop, server and Mac endpoints. iOS and Android app protection is a separate workstream and it isn't in here.
And the controls aren't mine. The largest source is CIS, at 137 of the mapped policies, with the rest coming from Microsoft's Endpoint Security baselines, the cross-platform Defender configuration repo, Microsoft's Modern Workplace guidance, Windows Hello for Business and FIDO material, and in one case Apple's own device management repository. The selection, the operational analysis, the framework mapping, the decision process and the tooling are the work.