Using the PowerShell script to add user to a group in AD

Hi @d_pustovoitov - Coming at it from a different angle; I believe AD LDAP honours the memberOf attribute (I say honours because it’s not a real attribute). I haven’t tried it but maybe you could try attribute mapping the (fixed) group DN to memberOf as part of account creation?

1 Like