Skip to content

feat(standards): allow device-registration MFA standard to set Required or Not required - #1286

Merged
Zacgoose merged 1 commit into
CyberDrain:devfrom
kris6673:feat/device-reg-mfa-toggle
Nov 16, 2026
Merged

Zacgoose merged 1 commit into
CyberDrain:devfrom
kris6673:feat/device-reg-mfa-toggle

Conversation

@kris6673

@kris6673 kris6673 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1277

The intuneRequireMFA standard could only set the Entra device setting "Require Multifactor Authentication to register or join devices" to Yes. Microsoft now recommends enforcing this through Conditional Access and setting the device setting to No, which is also what the ZTNA21872 test expects.

Changes

  • The standard gets a Required / Not required dropdown, in both the classic standard and the Baselines definition (variable state, values required / notRequired, same name in both so classic templates migrate without a mapping).
  • Templates and baselines saved before this change have no value and keep behaving as Required.
  • Label and help text reworded to be neutral ("Configure MFA requirement to register or join devices with Microsoft Entra"). The help text notes that Not required without a Conditional Access policy for the "Register or join devices" user action leaves device registration without MFA. The API name is unchanged.
  • baselineStandards.json regenerated with Update-BaselineStandardsJson.ps1.

Testing

  • New Invoke-CIPPStandardintuneRequireMFA.Tests.ps1: fallback to required when no state is saved, remediation to notRequired with the rest of the policy kept, no-op when already matching, alert on mismatch.
  • BaselineDefinitions.Catalog.Tests.ps1 passes, Update-BaselineStandardsJson.ps1 -Check passes.

@Zacgoose
Zacgoose merged commit bc8c80f into CyberDrain:dev Nov 16, 2026
24 of 25 checks passed
@kris6673
kris6673 deleted the feat/device-reg-mfa-toggle branch November 16, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants