title: G Suite Directory User creation is failing with the error - "Invalid Input: primary_user_email"
body: <p><strong>Issue</strong>: </p>
  
  <p>Intermittently new user creation is not working. It is failing with the error - <strong>Invalid Input: primary_user_email</strong></p>
  
  <p>Account creation is stopping for both the Admin UI and API also</p>
  
  <p><strong>Is issue Reproducible?</strong></p>
  
  <p>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</p>
  
  <p><strong>Observations</strong></p>
  
  <ul>
  <li>We are not seeing this issue consistently</li>
  <li>Mostly after a window of 24 hours, we are able to create a new user once again with Admin UI and API also</li>
  <li>We are not reaching the API quotas which are available from the Google's end for 100 seconds and for 24 hours</li>
  <li>With the API connection, we are having 2 options - Client credentials(with offline refresh token) and service account approach - both of them have the same inconsistent issue</li>
  </ul>
  
  <p>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.</p>
  
  <p>So we will like to know what actually triggering the user creation blockade so we can work accordingly</p>
  
  <p><strong>References</strong></p>
  
  <ul>
  <li>Directory API used for user creation: <a href="https://www.googleapis.com/admin/directory/v1/users" rel="nofollow noreferrer">https://www.googleapis.com/admin/directory/v1/users</a></li>
  <li>Google DOC we are following: <a href="https://developers.google.com/admin-sdk/directory/v1/guides/manage-users?refresh=1" rel="nofollow noreferrer">https://developers.google.com/admin-sdk/directory/v1/guides/manage-users?refresh=1</a></li>
  </ul>
  
  <p>Thank you !!</p>