问题
I'm updating an app on G Suite Marketplace SDK. It used to work by just changing the script version at 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?
Thanks to all!
回答1:
Your Google Cloud Project that is associated with your Apps Script project is in a default category of "No organization." That's the problem.
If you have not created an organization in your Cloud Platform project, then you need to do that. Then you must migrate the Cloud Platform project for your add-on in "No organization" to your Organization.
Your organization is your "company."
https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy#organizations
Your G Suite account can only have one Organization provisioned with it. You probably have Cloud Platform projects that were automatically put under the "No organization" category. Because there can only be one Organization in your Cloud Platform project, if you already have one created, you won't see an option to create another one.
Create an organization in Cloud Platform Project
https://cloud.google.com/resource-manager/docs/creating-managing-organization
- Open the Cloud Platform Project for your add-on
- Open IAM & Admin
- Click Settings
- Click the Migrate link
- 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 G Suite 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 G Suite 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.
来源:https://stackoverflow.com/questions/62719250/cannot-update-apps-on-google-marketplace-your-account-does-not-belong-to-the-s