|
if ($access.IsInherited -eq $false) |
By adding the $access.IsInherited -eq $false check to the Get-TargetResource function, the resource is unable to validate that the ADObject has permissions from an upstream source.
This results in a failed test, even if the object has the correct permissions via inheritance.
ActiveDirectoryDsc/source/DSCResources/MSFT_ADObjectPermissionEntry/MSFT_ADObjectPermissionEntry.psm1
Line 86 in 5ea5a13
By adding the
$access.IsInherited -eq $falsecheck to the Get-TargetResource function, the resource is unable to validate that the ADObject has permissions from an upstream source.This results in a failed test, even if the object has the correct permissions via inheritance.