Google Cloud – Unable to Access Organization’s IAM Settings

g-suitegoogle-cloud-platformuser-permissions

We recently gained access to the "organisation" feature in Google Cloud. By default, everyone in our organisation had the "project creator" privilege but I decided to lock this down and restrict access to only "developers" (a group I created in G Suite). However, it seems like I selected the wrong permissions and now nobody can create new projects. What's more, the "organisation" menu has now disappeared and I am unable to change the organisation's permissions.

I'm a "Super Admin" in G Suite so I would have assumed that I would always be able to access everything in Google Cloud. However, this appears not be the case.

Is there any way I can reset the organisation's permissions? If I can regain access to the IAM settings for the organisation I'll be able to sort everything out from there.

No organisation option available

Best Answer

It looks like you may have removed the resourcemanager.organizationAdmin role from your super admin account. You can try these steps to set it back:

  1. Navigate to https://console.cloud.google.com and ensure your are logged in with the same account that is your GSuite super admin account.

  2. Launch the Cloud Shell by clicking on the '>_' icon next to the project name on the top right (it does not matter which project is selected).

  3. Run the following command in the Cloud Shell, substituting your organization ID and super admin account email:

    $ gcloud organizations add-iam-policy-binding <ORGANIZATION_ID_HERE> --member="user:<SUPER_ADMIN_EMAIL_HERE>" --role="roles/resourcemanager.organizationAdmin"
    
  4. Refresh or sign in and out of the Cloud Console, and the organization dropdown should re-appear.

Related Topic