如何修复“您的帐户与此云项目或应用程序不属于同一域"?错误? [英] How to fix the "Your account does not belong to the same domain as this cloud project or app" error?

查看:21
本文介绍了如何修复“您的帐户与此云项目或应用程序不属于同一域"?错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在更新 G Suite Marketplace SDK 上的应用.它过去只需要在应用程序配置"中更改脚本版本即可工作.Tab,然后点击保存.

现在它在页面顶部发布了一条警告:

<块引用>

您的帐户与此云项目或应用不属于同一个域

并且 Save 按钮为灰色且不可点击.

错误图片可以在这里看到:

有什么问题,我应该去哪里检查和验证域?

解决方案

条款:

  • GCP - Google 云平台
  • Apps 脚本项目 - 您的 Apps 脚本文件

与您的 Apps 脚本项目相关联的 Google Cloud Platform (GCP) 项目属于无组织"的默认类别.这就是问题所在.

如果您已经在 GCP 中设置了组织,请跳至迁移您的云平台项目"以下部分.

如果您尚未在 Cloud Platform 项目中创建组织,则需要这样做.创建组织后,您必须在无组织"中为您的附加组件迁移 Cloud Platform 项目.到您的组织.

  • 选择要迁移到的组织
  • 点击按钮:
  • 等待确认迁移发生

我为附加组件迁移了一个云项目,没有任何问题.您还可以将 Cloud 项目的所有权从一个 Google 帐户更改为另一个 Google 帐户.

我的假设是,云项目不会受到迁移的影响,因为它基本上独立于与其关联的任何帐户或组织运行.

确定这一点的唯一方法是 Google 是否有人提供了答案,但获得 Cloud Projects 支持的唯一方法是购买支持计划,而最便宜的方法是每位用户每月 100 美元.

Google Cloud 项目支持计划

从技术上讲,Google 不支持 Apps Script,也没有 Google 联系人可以获取答案.

使用 Google Workspace Marketplace SDK,您必须将 Apps Script 项目与 Cloud Platform 项目相关联.如果您更改了与 Google Workspace Marketplace SDK 关联的 Apps 脚本文件的所有权,则可能会出现问题.

您需要确保拥有 Cloud Platform 项目的人也拥有 Apps 脚本文件.如果 Apps 脚本文件被删除,那么附加组件就会被终止.

I'm updating an app on G Suite Marketplace SDK. It used to work by just changing the script version at the "App Configuration" Tab, and click Save.

Now it posted a warning at the top of the page saying:

Your account does not belong to the same domain as this cloud project or app

and the Save button is grey and not clickable.

Error image can be seen here:

What is the issue and where should I go to check and verify the domains?

解决方案

Terms:

  • GCP - Google Cloud Platform
  • Apps Script project - Your Apps Script file

Your Google Cloud Platform (GCP) project that is associated with your Apps Script project is in a default category of "No organization." That's the problem.

If you already have an organization set up in your GCP, then skip down to the "Migrate your Cloud Platform Project" section below.

If you have not created an organization in your Cloud Platform project, then you need to do that. After creating an organization, you must migrate the Cloud Platform project for your add-on in "No organization" to your Organization.

Your organization is your "company."

Your Google Workspace account (formerly G Suite) can only have one Organization provisioned with it. You probably have Cloud Platform projects that were automatically put under the "No organization" category. If you already have an Organization in your Cloud Platform project, then you won't see an option to create another one.

Create an organization in Cloud Platform Project

Migrate your Cloud Platform Project:

  • Choose the organization to migrate to
  • Click the button:
  • Wait for confirmation that the migration happened

I migrated a Cloud Project for an add-on without any problem. You can also change ownership of a Cloud Project from one Google account to another Google account.

My assumption is, that the Cloud Project isn't affected by migrating it because it's basically running independently from whatever account or organization it's associated with.

The only way to know that for sure is if someone from Google provided an answer, but the only way to get support for Cloud Projects is to buy a support plan, and the least expensive one is $100 dollars a month per user.

Google Cloud Project support plans

Technically, Apps Script is not supported by Google, and there is no Google contact person to get answers from.

With the Google Workspace Marketplace SDK, you must associate an Apps Script project with the Cloud Platform project. If you changed ownership of the Apps Script file that the Google Workspace Marketplace SDK was associated with, then there would likely be a problem.

You'd need to make sure that whoever owned the Cloud Platform Project also owned the Apps Script file. If the Apps Script file was deleted, then that would kill the add-on.

这篇关于如何修复“您的帐户与此云项目或应用程序不属于同一域"?错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆