How to delete a project Wiki in Azure DevOps?

To follow this blog post, you should have the Azure CLI and the Azure DevOps extension installed in your PowerShell.

In order to delete a wiki project, you have to delete its (hidden) Git repo. First step: identify the repository behind the Project Wiki:

az devops wiki list --project <MyProject>

In this example, you will see a lot of data; save the repository Guid for the next step.

Second step: delete the repo

az repos delete --id 2c9047e3-ecb9-4913-b51e-893bc5a3e6gg 
--project <MyProject>

And that’s it…

Enjoy