Hi,
It seems that there has been an update to password complexity requirements so the password generated is not being accepted.
Update:
I just re-ran the script and I'm no longer getting the password rejected, not sure if it was just a fluke but worth looking into to make sure the PW's you are generating are still passing the minimum requirements