You can...
a) Supply the listing for the script and we can look at it (de-identified of course)
b) Contact support if you're a commercial customer and go from there
Also, the error that you note means that the user is not found, therefore it's possible that the script may be provisioning the user and looking at a different DC to check and replication hasn't happened.
R.P