Random Password generation logic for Active Directory Connector

Hi,

We have a requirement to generate a random password with the following options while provisioning to Active Directory. We have used the OOTB method to generate the random password with application password policy. There is an issue with repetitive characters in the generated password, we have selected the number of repetitive characters in the password policy as 0, but still the code generates password with repetitive characters. Could you please suggest us any other alternative approach to handle this scenario.