I created a script using the Admin SDK API to copy users between GWS instances.
This script does the following:
1. Retrieve user information from GWS A.
2. Create user information and password in GWS B. Update if it already exists.
3. Send an email to the user in GWS A informing them that the user has been created in GWS B.
I’ve been doing this for each user, but after several attempts, I encountered the following error:
[ERROR] → FAILED: A request for user account creation is disallowed as we've detected some potentially abusive behavior. Please contact Google support for help.
Is there any way to remove this restriction?
Due to internal company constraints, we don’t have much time, so if there’s a solution other than waiting, I’d like to try that.
I would not expect there to be a switch to disable that fraud/abuse protection from the Admin SDK side. If Google is blocking user creation with that message, it is usually an account/domain trust or anti-abuse control, not a normal quota you can simply raise in code.
Things that may reduce the chance of triggering it:
- slow the migration down instead of creating many users in a tight loop
- avoid repeatedly creating/deleting/updating the same users while testing
- use strong/random temporary passwords and force reset at first login
- make sure the target Workspace domain is fully verified and in good standing
But if the block has already triggered, support is probably the real path. I would open a Workspace support case with the exact timestamp, target domain, and request IDs if you have them.