SecurityPolicyDsc icon indicating copy to clipboard operation
SecurityPolicyDsc copied to clipboard

Configurations not being applied

Open SwethaGanapathy01 opened this issue 6 years ago • 2 comments

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.

SwethaGanapathy01 avatar Apr 11 '19 15:04 SwethaGanapathy01

Can anyone suggest me with some solution for the above issue with configuration

SwethaGanapathy01 avatar Apr 15 '19 12:04 SwethaGanapathy01

@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?

jcwalker avatar May 29 '19 20:05 jcwalker