mcollera / AccessControlDsc

MIT License
13 stars 12 forks source link

AccessControlDSC v1.4.0.0 is throwing error while trying to set permission to a folder for the group "ALL APPLICATION PACKAGES" and "ALL RESTRICTED APPLICATION PACKAGES" #58

Closed kmsarfraz closed 4 years ago

kmsarfraz commented 4 years ago

AccessControlDSC v1.4.0.0 is throwing error while trying to set permission to a folder for the group "ALL APPLICATION PACKAGES" and "ALL RESTRICTED APPLICATION PACKAGES"

Below is the error message

Exception calling "AddAccessRule" with "1" argument(s): "Some or all identity references could not be translated."

The PowerShell DSC resource '[NTFSAccessEntry]Test' with SourceInfo 'C:\Temp\Hardening_IIS_DSC\Dependencies\AccessControlDSC\1.4.0.0\Examples\NtfsAccessEntry_example - Copy.ps1::6::9::NTFSAccessEntry' threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.

The SendConfigurationApply function did not succeed.

kmsarfraz commented 4 years ago

I tried in Windows Server 2019 OS.