Unable to restore deleted service account on GCP.

0 votes
I had deleted a service account and its not been 30 days yet. When I tried to restore the deleted account, It's unsuccessful. Why is this? Can't I restore my account ?
Oct 30 in GCP by anonymous
• 4,330 points
35 views

1 answer to this question.

0 votes

You will be unable to restore a deleted service account under the following conditions:

  • If a service account has been deleted for more than 30 days, it will be automatically purged from the system and will no longer be restorable, even if a customer support request is filed.

  • If a deleted service account's email address is being used by an active (non-deleted) service account, it is impossible to restore the deleted service account.
    For example, if you delete an account namedfoo@project-id.iam.gserviceaccount.com with a unique ID of 103271949540120710052, and later create a new account using the same name foo@project-id.iam.gserviceaccount.com but with a unique ID of 103271949540120710329, it is impossible to restore the first service account. To overcome this issue, you can delete the newer (second) service account, and then execute the undelete command.

Check if any of this is the case with your service account.

Hope this helps! 

answered Oct 30 by Sirajul
• 40,990 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to allow outbound traffic on a custom port in gcp?

To allow outbound traffic through a custom ...READ MORE

answered Sep 26 in GCP by Sirajul
• 40,990 points
56 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer