Explanation Before this will work, the build needs permission to access the Azure Key Vault. This can be added in the Azure Portal. Open the Access Policies in the Key Vault and add a new one. Choose the principle used in the DevOps build. Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/azure-key-vault