Issue:
Intermittently new user creation is not working. It is failing with the error - Invalid Input: primary_user_email
Account creation is stopping for both the Admin UI and API also
Is issue Reproducible?
We have automation in place which hits the G suite directory API for user/group/role - creation/modification/deletion. So when we have frequent and parallel executions of this automation we are seeing this issue. Please note when we don't encounter an issue at the user creating the automation runs smoothly and all the scenarios covered in it are executing properly
Observations
What we are feeling is that there might be some policies or limits for these API which are blocking the user creation. We have checked the docs available but didn't found any related info.
So we will like to know what actually triggering the user creation blockade so we can work accordingly
References
Thank you !!
The action of creating and deleting users constantly in a short period of time will trigger an internal system flag at Google and the account will be prevented from these actions for a short time-frame(Approximately 24hrs). Basically this flag detects im-proper use of the API and to protect the infrastructure, user creation is blocked even for valid email addresses.