unable to create keyvault due to a deleted one which also cannot be recovered

Andy Liu 0 Reputation points
2023-11-01T03:11:07.06+00:00

Hi Guys,

I deleted my keyvault by mistake, I tried to recover it from 'manage deleted keyvault' because it is 'soft deletion' enabled , unfortunately I found nothing there . so I tried to create a new one, again I failed due to name conflict .

eea751eb85874e536d1a8b00830a9a28

b6d3ee31384900b9643b4f4ed50f6545

Anyone know the solution here ?

Thanks

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,327 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 17,961 Reputation points Microsoft Employee
    2023-11-02T10:53:20.3566667+00:00

    @Andy Liu

    Thank you for posting your query on Microsoft Q&A, from above description I could understand that you are not able to find a soft deleted KeyVault for recovery, nor your have been able to create new one with same name.

    Please do correct me if this is not the case by responding in the comments section:

    • Within CLI, kindly try to list the soft deleted KeyVault with following:
    az keyvault list-deleted --subscription {SUBSCRIPTION ID} --resource-type vault
    
    • If you see the desired Vault then run the following:
    az keyvault recover --subscription {SUBSCRIPTION ID} -n {VAULT NAME}
    
    • Still if you don't see or unable to delete the desired Vault kindly try from the Admin Portal: User's image

    Let me know if this does not work out, we could have an offline connect to discuss this further.

    Thanks,

    Akshay Kaushik

    Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.