Skip to content

Sync bundled OpenIntuneBaseline to Windows v4.0.1 and BYOD v2.0 - #47

Merged
jorgeasaurus merged 3 commits into
mainfrom
fix/46-update-openintunebaseline
Nov 10, 2026
Merged

jorgeasaurus merged 3 commits into
mainfrom
fix/46-update-openintunebaseline

Conversation

@jorgeasaurus

@jorgeasaurus jorgeasaurus commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Closes #46.

Syncs Templates/OpenIntuneBaseline/ with upstream SkipToTheEndpoint/OpenIntuneBaseline@main (2089b94, windows-v4.0.1 merge), using the same steps as the parity workflow. The diff matches the 9 files listed in the issue.

Changes

  • Windows v4.0.1: Administrator Protection renamed v3.7 → v4.0.1 (settings updated); Config Refresh template tweaked; WINDOWS/PolicyManifest.json refreshed.
  • BYOD v2.0: The old BYOD/AppProtection/{Android,iOS} - Baseline - BYOD - App Protection.json are replaced by BYOD/IntuneManagement/AppProtection/{Android,iOS} - OIB - App Protection - U - BYOD L2+ - v2.0.json, plus a new BYOD/PolicyManifest.json.
  • releases.json: BYOD is now available with the byod-v2.0 release.
  • Fixed a stale folder comment in Import-IntuneBaseline.ps1 and added a CHANGELOG entry.

Notes

  • No routing change was needed. IntuneManagement is already in IntuneManagementFolders, so the new BYOD files route by @odata.type to androidManagedAppProtections / iosManagedAppProtections, and the iOS/Android platform filters still map to BYOD. Root PolicyManifest.json files are skipped because only subfolders get scanned.
  • Template-scoped deletes match on template names. Tenants hydrated with the old Baseline - BYOD - App Protection policies will keep them after a -Delete run, and those policies will sit next to the new v2.0 ones until someone removes them by hand.

Validation

  • ./build.ps1 -Task Analyze: 0 errors
  • ./build.ps1 -Task Test: 1102/1104 passed. The two failures (New-IntuneWinPackage, Publish-IntuneWin32AppContent cleanup tests) also fail on clean main on macOS and aren't related to this change.
  • git diff --check is clean

🤖 Generated with Claude Code


Note

Medium Risk
Ships new Intune baseline and BYOD app protection templates that change what gets created or upgraded in tenants; v2.0 policies use new names so old BYOD app protection objects may remain alongside new ones after hydration.

Overview
Releases v1.4.1 and refreshes bundled OpenIntuneBaseline content: Windows v4.0.1 (Administrator Protection policy updated to v4.0.1 with revised UAC approval mode; Config Refresh template gains an upstream impact warning) and BYOD v2.0 (replaces legacy BYOD/AppProtection Android/iOS baseline app protection JSON with OIB v2.0 templates under BYOD/IntuneManagement/AppProtection, plus new BYOD/PolicyManifest.json).

releases.json marks BYOD as available with the byod-v2.0 release; the module manifest/changelog document the catalog bundle and the Windows script file-association deployment warning. Import-IntuneBaseline.ps1 only updates the BYOD folder comment to match the new layout.

Test/build fixes are mostly Pester 6 compatibility (export-list indentation in BuildConfiguration.Tests.ps1, assorted formatting) and trivial TUI/formatting cleanup—no new import APIs.

Reviewed by Cursor Bugbot for commit 3d23ae0. Bugbot is set up for automated code reviews on this repo. Configure here.

Closes #46.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 03:58
@jorgeasaurus

Copy link
Copy Markdown
Owner Author

@copilot please review this PR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The Windows elevation and BYOD wipe-policy changes require human validation in a test Intune tenant because static checks and mocked tests cannot establish Graph acceptance or device impact.

No open issues 🎉

What changed in this PR

Updates the kit’s bundled OpenIntuneBaseline policies to Windows v4.0.1 and BYOD v2.0, addressing the upstream parity changes reported in #46.

Changes:

  • Refreshes Windows Administrator Protection settings, adds the Config Refresh warning, and updates the Windows manifest.
  • Replaces legacy Android/iOS BYOD templates with v2.0 policies under IntuneManagement/AppProtection, adding manifest and release metadata.
  • Documents the update and corrects a folder comment; import routing remains unchanged.
File Description
Templates/​OpenIntuneBaseline/​WINDOWS/​PolicyManifest.json Updates version, policy history, and conflict metadata.
Templates/​OpenIntuneBaseline/​WINDOWS/​IntuneManagement/​SettingsCatalog/​Win - OIB - SC - Device Security - D - Config Refresh - v3.2.json Adds the upstream warning about policy side effects.
Templates/​OpenIntuneBaseline/​WINDOWS/​IntuneManagement/​SettingsCatalog/​Win - OIB - SC - Device Security - D - Administrator Protection - v4.0.1.json Replaces v3.7 with updated administrator approval settings and metadata.
Templates/​OpenIntuneBaseline/​releases.json Marks BYOD v2.0 as an available stable release.
Templates/​OpenIntuneBaseline/​BYOD/​PolicyManifest.json Adds metadata for both BYOD v2.0 policies.
Templates/​OpenIntuneBaseline/​BYOD/​IntuneManagement/​AppProtection/​iOS - OIB - App Protection - U - BYOD L2+ - v2.0.json Adds the updated iOS app protection policy.
Templates/​OpenIntuneBaseline/​BYOD/​IntuneManagement/​AppProtection/​Android - OIB - App Protection - U - BYOD L2+ - v2.0.json Adds the updated Android app protection policy.
Templates/​OpenIntuneBaseline/​BYOD/​AppProtection/​iOS - Baseline - BYOD - App Protection.json Removes the legacy iOS template.
Templates/​OpenIntuneBaseline/​BYOD/​AppProtection/​Android - Baseline - BYOD - App Protection.json Removes the legacy Android template.
Public/​Baselines/​Import-IntuneBaseline.ps1 Corrects the BYOD folder comment only.
CHANGELOG.md Records the bundled baseline refresh.

Review effort: Balanced

Copilot AI commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

@copilot please review this PR.

Reviewed the PR changes; I found no actionable code issues. The latest CI run is green on Windows, macOS, and Ubuntu (1,102 tests passed, 2 skipped; analyzer and build passed). Graph acceptance and device impact of the updated BYOD policies still need validation in a test Intune tenant.

- Keep reformatted sources; generate the psm1 export list with 4-space indent to match.
- Add pass-through Remove-Item mocks so filtered-only mocks don't break cleanup on Pester 6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 04:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Renaming the template leaves the legacy v3.7 policy behind after delete/recreate, risking conflicting approval-mode settings unless marker-gated cleanup or removal guidance is added.

No open issues 🎉

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The policy rename leaves legacy v3.7 policies behind during delete/recreate upgrades, allowing v4.0.1 to coexist with them and cause conflicting approval-mode settings when assigned to the same devices.

No open issues 🎉

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 10, 2026 04:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The UAC approval-mode change, broader BYOD targeting, and wipe remediation require tenant security-owner review and pilot validation because static review and mocked tests cannot establish deployment safety.

No open issues 🎉

Review effort: Balanced

@jorgeasaurus
jorgeasaurus merged commit 1aeefbf into main Nov 10, 2026
13 checks passed
@jorgeasaurus
jorgeasaurus deleted the fix/46-update-openintunebaseline branch November 10, 2026 04:24
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.

Update bundled OpenIntuneBaseline templates

3 participants