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

Andy Liu 0 Reputation points

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 .



Anyone know the solution here ?


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.
958 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 11,746 Reputation points Microsoft Employee

    @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.


    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.