SecurityPolicyDsc
SecurityPolicyDsc copied to clipboard
Configurations not being applied
We have below DSC configurations which is replicating in the server but I'm getting it as failed recommendation with mismatch in expected and actual result
AccountPolicy PasswordPolicies
{
Name = "PasswordPolicies"
Enforce_password_history = 24
Maximum_Password_Age = 70
Minimum_Password_Age = 1
Minimum_Password_Length = 14
Store_Passwords_Using_Reversible_Encryption = "Disabled"
}
- Ensure 'Minimum password age' is set to '1 or more day(s)'
- Ensure 'Enforce password history' is set to '24 or more password(s)'
- Ensure 'Maximum password age' is set to '70 or fewer days, but not 0'
- Ensure 'Minimum password length' is set to '14 or more character(s)'
Above recommendations are shown as failed.
Can anyone suggest me with some solution for the above issue with configuration
@SwethaGanapathy01 I have tested the settings you provided in your issue and the resource succeeds without error. Can you provide the error you are getting?