Repository navigation
Sync bundled OpenIntuneBaseline to Windows v4.0.1 and BYOD v2.0 - #47
Conversation
Closes #46. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@copilot please review this PR. |
There was a problem hiding this comment.
🔵 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
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>
There was a problem hiding this comment.
🔵 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
There was a problem hiding this comment.
🔵 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
Closes #46.
Syncs
Templates/OpenIntuneBaseline/with upstreamSkipToTheEndpoint/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/PolicyManifest.jsonrefreshed.BYOD/AppProtection/{Android,iOS} - Baseline - BYOD - App Protection.jsonare replaced byBYOD/IntuneManagement/AppProtection/{Android,iOS} - OIB - App Protection - U - BYOD L2+ - v2.0.json, plus a newBYOD/PolicyManifest.json.releases.json: BYOD is nowavailablewith thebyod-v2.0release.Import-IntuneBaseline.ps1and added a CHANGELOG entry.Notes
IntuneManagementis already inIntuneManagementFolders, so the new BYOD files route by@odata.typetoandroidManagedAppProtections/iosManagedAppProtections, and the iOS/Android platform filters still map toBYOD. RootPolicyManifest.jsonfiles are skipped because only subfolders get scanned.Baseline - BYOD - App Protectionpolicies will keep them after a-Deleterun, 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-IntuneWin32AppContentcleanup tests) also fail on cleanmainon macOS and aren't related to this change.git diff --checkis 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/AppProtectionAndroid/iOS baseline app protection JSON with OIB v2.0 templates underBYOD/IntuneManagement/AppProtection, plus newBYOD/PolicyManifest.json).releases.jsonmarks BYOD as available with thebyod-v2.0release; the module manifest/changelog document the catalog bundle and the Windows script file-association deployment warning.Import-IntuneBaseline.ps1only 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.