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

App Engine default credentials restore after deletion (+ 30 days)

I'm really frustrated. Unfortunately long time ago someone deleted the google app engine default credential (service account) and since it's passed much more than 30 days we are not able to deploy apps using app engine anymore. I already read a lot of things and technical workarounds within stack over flow community but could not find anything that resolved this issue.

Is there anything that works for that? recover? replacing the service account for another new one? force the app to use another service account instead the default? Well, i'm really lost with that.

thanks in advance

1 4 511
4 REPLIES 4

Hi, castanheira,
You should contact support and request for your project to be added to the Alpha API whitelist, in order for you to create a new Default Service Account.

I do not have standard support to request that unfortunately

Hi, castanheira,

There is another way. You have to be able to create a new Default Service Account by disabling the App Engine API and re-enabling it. You can also do so in the cloud console, or via the gcloud SDK.

You can confirm the App Engine Default Service Account was created this way [1].

Additionally, if you do not want to or can not disable the App Engine API, you could request for your project to be added to the whitelist of the Alpha API, in order for you to create a new Default Service Account.

This can be done over a support case under a valid business justification.

If you do not have a support package, you can create the case here.

[1] IAM & Admin › IAM ›  check the ‘Include Google-provide role grants’ › Ctrl F: @appspot.gserviceaccount.com

Hi comaro,
More than 30 days ago my app engine default service was deleted and i tried to disable and re-enabling the app engine api but it didnt work. A work around i tried was to create a user managed service account with the required roles mentioned in the docs but it still didnt work and i keep getting the same error.