Reputation: 514
my partner added me as a member in a GCP project, with computer engine Admin role, but i didn't receive any invitation email. we have already checked in spam folder. i tried also to acc
https://console.cloud.google.com/invitation?project=PROJECT_NAME&account=EMAIL&memberEmail=EMAIL
but it given me this error:
Upvotes: 26
Views: 21169
Reputation: 6369
Search with the search bar for the invitation on your email but if you don't find it access the following link:
https://console.cloud.google.com/invitation?project=[your-project-id]&account=[the-account-email-invited]&memberEmail=[the-account-email-invited]
Upvotes: 68
Reputation: 1103
I tested it on my end and I am experiencing the same issue. When granting a role to a user, the user will not receive an invitation email, unless he is granted a “Project Owner” role.
However, upon reading the GCP documentation [1], I do see that it's working as intended.
"To allow team members to access a project's resources and APIs, project owners can grant IAM roles to users. You can grant a role to a user using the GCP Console, the gcloud command-line tool, or the setIamPolicy() method. When you set a policy or add a binding to grant a role to a user, they won't receive an invite email. Instead, the user's access is updated directly." [1]
[1] https://cloud.google.com/iam/docs/granting-changing-revoking-access
Upvotes: 1
Reputation: 778
A workaround can be add as owner than change permission. (Not tested)
In my case the project was hidden under No organization
> All
.
Upvotes: 11