Skip to content

Add documentation for Test-WdacEnablement null reference issue#295

Open
erskinejohn wants to merge 2 commits into
mainfrom
erskinejohn-patch-4
Open

Add documentation for Test-WdacEnablement null reference issue#295
erskinejohn wants to merge 2 commits into
mainfrom
erskinejohn-patch-4

Conversation

@erskinejohn
Copy link
Copy Markdown
Collaborator

Document known issue with Test-WdacEnablement failing due to null reference during upgrade validation, including symptoms, resolution steps, and applicable versions.

Document known issue with Test-WdacEnablement failing due to null reference during upgrade validation, including symptoms, resolution steps, and applicable versions.
Copilot AI review requested due to automatic review settings June 1, 2026 08:57
Added a known issue regarding Test-WdacEnablement failing with a null-reference error during upgrade validation.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new Environment Validator known-issue troubleshooting guide documenting a Test-WdacEnablement null-reference crash that can block upgrade readiness validation, with steps to identify the condition and apply a temporary workaround.

Changes:

  • Adds a new known-issue markdown document describing symptoms and affected scenarios for the Test-WdacEnablement null-reference failure.
  • Provides a workaround procedure (identify GUID-named active .cip files and temporarily rename them) and guidance to re-run validation.
  • Documents affected/fixed version ranges and includes related Microsoft Learn references.

Comment on lines +101 to +104
## Applicable Versions

- **Affected**: EnvironmentChecker 10.2509.0.2010 and all releases prior to 2607
- **Fixed in**: 2607 - the fix adds a null-check so supplemental-only policy configurations no longer crash the validator
Comment on lines +58 to +61
### Step 2: Temporarily rename the supplemental policy files

On **each cluster node** (not just the seed node), rename the supplemental `.cip` files so the validator no longer detects them:

Comment on lines +67 to +71
foreach ($file in $cipFiles) {
$backupName = $file.FullName + ".backup"
Rename-Item -Path $file.FullName -NewName $backupName
Write-Host "Renamed: $($file.Name) -> $($file.Name).backup"
}
@@ -0,0 +1,110 @@
# Known Issue: Test-WdacEnablement Fails with Null-Reference Error During Upgrade Validation
@aldawson33
Copy link
Copy Markdown
Collaborator

@erskinejohn you have some reviews to answer before this can be approved/merged. Can you please look them over?

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.

3 participants