We created a project in the Google Cloud Console and it added it to an organization. We need to move this project to another organization where our other projects are.
We are trying to move it with this gcloud command but we get an error.
$ gcloud beta projects move some-project-id --organization=0
ERROR: (gcloud.beta.projects.move) INVALID_ARGUMENT: field [Project.parent] has issue [Project parent cannot be empty.]
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: Project parent cannot be empty.
field: Project.parent
https://cloud.google.com/sdk/gcloud/reference/beta/projects/move