dsccommunity / ActiveDirectoryDsc

This module contains DSC resources for deployment and configuration of Active Directory Domain Services.
MIT License
344 stars 142 forks source link

ADManagedServiceAccount: KeberosEncryptionType doesn't work on creation #650

Open Erwan-loot opened 3 years ago

Erwan-loot commented 3 years ago

Exemple if you create a account with KerberosEncryptionType = AES256 The creation of a GMSA account let the parameter "KerberosEncryptionType" in {RC4, AES128, AES256} (Default behavior when you let this paramter empty) When you reapply a second time while the account is already created the parameter is changed correctly to AES256

Add the parameter kerberosencryptiontype in the creation as the CMDLET

new-adserviceaccount -kerberosencryptiontype