Skip to content

Commit 10fcef4

Browse files
authored
Fix/dsc resource common (#22)
* Update DscResource.Common module version to 0.24.0-preview0002 * Enhance logging in AADSyncRule class to capture Test-DscParameterState results * Updated changelog
1 parent 50e7e8c commit 10fcef4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
standard rules except `Name` and `Disabled`. This is because standard rules
1212
cannot be changed. A second compare job is executed for reporting on
1313
differences but without having an effect on the overall test result.
14-
14+
- Fixed of `DscResource.Common`, now `0.24.0-preview0002`.
1515

1616
## [0.3.2] - 2025-07-22
1717

RequiredModules.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Plaster = 'latest'
1717
'Sampler.GitHubTasks' = 'latest'
1818
MarkdownLinkCheck = 'latest'
19-
'DscResource.Common' = 'latest'
19+
'DscResource.Common' = '0.24.0-preview0002'
2020
'DscResource.Test' = 'latest'
2121
'DscResource.AnalyzerRules' = 'latest'
2222
xDscResourceDesigner = 'latest'

source/Classes/AADSyncRule.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ class AADSyncRule
124124
Write-Verbose '--------------------------- Comparing all properties for standard rule ------------------------------'
125125
Write-Verbose '----------------------- The result will not effect the overall test result --------------------------'
126126
Write-Verbose '-----------------------------------------------------------------------------------------------------'
127-
$null = Test-DscParameterState @param -ReverseCheck
127+
$result = Test-DscParameterState @param -ReverseCheck
128128
Write-Verbose '-----------------------------------------------------------------------------------------------------'
129+
Write-Verbose "---- Test-DscParameterState returned '$result', but a negative value is not returned to the LCM -----"
129130
Write-Verbose '-----------------------------------------------------------------------------------------------------'
130131
}
131132
}

0 commit comments

Comments
 (0)