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, 2019 in GCP by anonymous
• 5,330 points
74 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, 2019 by Sirajul
• 48,810 points

Related Questions In GCP

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

How to add a PTR record to my VM instance on gcp?

If your VM instance uses the primary ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 48,810 points
112 views
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, 2019 in GCP by Sirajul
• 48,810 points
185 views
0 votes
1 answer
0 votes
1 answer

create a service account on Gcloud.

To create a service account, at minimum ...READ MORE

answered Oct 30, 2019 in GCP by Sirajul
• 48,810 points
37 views
0 votes
1 answer

Is it possible to restore a deleted service account on Gcloud?

It's sometimes possible to restore a deleted ...READ MORE

answered Oct 30, 2019 in GCP by Sirajul
• 48,810 points
198 views
+1 vote
1 answer

GCP Error: "Unable to connect on port 22"

You may see this error under the ...READ MORE

answered Sep 24, 2019 in GCP by Sirajul
• 48,810 points
684 views