Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Please help: How to delete a folder containing active resources?

Dear Google Cloud Community,

I come to you in my hour of need.

I have been managing a Google Workspace account (G Suite Legacy Free Edition).

I am now closing that Google Workspace account. However I am currently unable to do so because of an issue I am encountering on Google Cloud. I have been told by Google Workspace Support I need to raise my question with this community.

Before closing my Google Workspace account, I needed to use Google Cloud to export a single user's data. I was able to do this successfully 👍

Two days ago I went to this URL https://admin.google.com/ac/companyprofile/accountmanagement to delete my Google Workspace account. The option to delete my account was not available, the page said 'You have active projects in Google Cloud Platform. You need to delete all GCP projects before you can delete this account.'

I went to https://console.cloud.google.com/cloud-resource-manager?authuser=0 and deleted my data export for that single user. This currently shows up under 'Resources pending deletion' (https://console.cloud.google.com/cloud-resource-manager?pendingDeletion=true&authuser=0).

However today I still cannot close my Google Workspace account and I get the same message about active projects.

I contacted Google Workspace Support and they said:

"Hi Dave! Resources pending deletion will not stop the deletion of Workspace, the message you received is because an active project has been detected, please follow these steps to look for it:

1. Go to GCP console: https://console.cloud.google.com
2. On the sidebar, go to IAM & Admin -> Identity and Organization
2A. If your listing is under a project, it will show something like "Page not viewable for projects." Next to it, make sure the domain is selected and click the select button.
2B. Under Set Permissions, click "Set Permissions".
3. If you are listed under the members, edit your user. If not, add yourself.
4. For your roles, add: Organization Admin and Folder admin. Save your new roles.
5. Now, back to the project list and delete everything."

I followed their instructions but on the page 'Identity & Organisation' after selecting a domain I could not see any link or section titled Set Permissions.

Remembering a Permissions section on the Manage Resources page https://console.cloud.google.com/cloud-resource-manager?authuser=0 I added my Google Workspace admin email address as a Principal to my domain with the following roles:
billing account creator
folder admin
organisation administrator
owner
project creator

Please see a screenshot below:

Dave11_0-1662034193036.png

I went back to the Manage Resources page and ticked the check box next to my domain but the Delete link was greyed out (i.e. not clickable). I noticed that the node could be expanded so I clicked that which revealed a folder called 'system-gsuite'. When I expanded that folder it contained another folder within it called 'apps-script'.

I ticked the checkbox next to the apps-script folder and click the Delete link but the web page displayed the message 'Folder cannot be deleted as it contains active resources. Only empty folders can be deleted.'

I contacted Google Workspace Support again and asked them how to overcome this issue. They said I should raise my issue specifically here in the Google Cloud Community.

Is anyone here able to guide me in deleting all my Google Cloud projects?

I did try the alternative approach of shutting down my Google Cloud project (https://support.google.com/googleapi/answer/6251787) but unfortunately when I go to the URL https://console.cloud.google.com/iam-admin/settings?authuser=0&organizationId=############## all I see is my organisation name and organisation ID and there are no options to take any other actions.

Thanks in advance,
Dave

1 REPLY 1

I am happy to report my issue has been solved and I can now delete my Google Workspace account. The advice I needed was linked to from this post on the Google Workspace Community: https://support.google.com/a/thread/177790442?hl=en&msgid=177886599 👍

Top Labels in this Space
Top Solution Authors