简体   繁体   English

G Suite 目录用户创建失败并出现错误 - “无效输入:primary_user_email”

[英]G Suite Directory User creation is failing with the error - “Invalid Input: primary_user_email”

Issue :问题

Intermittently new user creation is not working.间歇性地创建新用户不起作用。 It is failing with the error - Invalid Input: primary_user_email它因错误而失败 -输入无效:primary_user_email

Account creation is stopping for both the Admin UI and API also Admin UI 和 API 的帐户创建也停止

Is issue Reproducible?问题可重现吗?

We have automation in place which hits the G suite directory API for user/group/role - creation/modification/deletion.我们有针对用户/组/角色 - 创建/修改/删除的 G Suite 目录 API 的自动化。 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观察

  • We are not seeing this issue consistently我们没有始终如一地看到这个问题
  • Mostly after a window of 24 hours, we are able to create a new user once again with Admin UI and API also大多数情况下,在 24 小时的 window 之后,我们能够再次使用管理 UI 和 API 创建新用户
  • We are not reaching the API quotas which are available from the Google's end for 100 seconds and for 24 hours我们没有达到 API 配额,这些配额可从 Google 端获得 100 秒和 24 小时
  • 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使用 API 连接,我们有 2 个选项 - 客户端凭据(带有离线刷新令牌)和服务帐户方法 - 它们都有相同的不一致问题

What we are feeling is that there might be some policies or limits for these API which are blocking the user creation.我们的感觉是,这些 API 可能存在一些阻止用户创建的策略或限制。 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 !!谢谢 !!

Seems that the issue you are encountering might be related to your G Suite account .看来您遇到的问题可能与您的G Suite 帐户有关。

Therefore, the best solution in this situation is to contact G Suite Support here and choose the most convenient option for you.因此,在这种情况下,最好的解决方案是在此处联系 G Suite 支持并为您选择最方便的选项。

Reference参考

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).在短时间内不断创建和删除用户的操作将触发 Google 的内部系统标记,并且该帐户将在短时间内(大约 24 小时)被阻止执行这些操作。 Basically this flag detects im-proper use of the API and to protect the infrastructure, user creation is blocked even for valid email addresses.基本上,此标志检测 API 的不当使用并保护基础设施,即使对于有效的 email 地址,用户创建也会被阻止。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 限制我们的 G-Suite email / 我们项目的服务帐户,以便用户无法将它们添加到他的个人 GCP 项目中 - Restrict our G-Suite email / service account of our project so that the user cannot add them to his personal GCP project 如何使用 Google 服务帐户和 Google API 根据其用户 ID 验证 G-Suite 用户的密码 - How to use Google Service Account and Google API to validate G-Suite User's Password against its user ID 为什么默认情况下,新的G Suite用户可以访问所有GCP资源,以及如何限制这种访问? - Why does a new G Suite user has access to all GCP resources by default and how to restrict this access? 允许 GCloud 服务帐号访问特定用户的 G Suite 帐号吗? - Allow GCloud service account to access specific user's G Suite account? Google Cloud Resource Manager API - Google Workspace/G Suite 用户自己的组织是否总是列在organizations.list 中? - Google Cloud Resource Manager API - will a Google Workspace/G Suite user's own organization ALWAYS be listed in organizations.list? 如何将多个身份验证 ID(例如密码和电子邮件)传递给“webApp2_extras”用户模型的 user_create 方法? - How to pass multiple auth ids e.g password and email, to the user_create method of the "webApp2_extras" user model? 更改G Suite主域名和重命名用户对GCP有什么影响? - What is the impact on GCP of changing a G Suite primary domain name and renaming users? gcloud Docker 由于用户输入而出错 - gcloud Docker error because of user input taking 在谷歌云中创建实例时添加用户 - Add user while instance creation in google cloud 使用服务帐户创建 Google API 用户 - Google API user creation with service account
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM