Winform application – error on getting Azure secret from KeyVault "DefaultAzureCredential failed to retrieve a token from the included credentials."
I have winform application written in c#. I am trying to fetch azure secrets from Azure KeyVault. I have written below function to fetch the secret. private async Task<string> GetSecretFromAzureKV(string secretName) { try { var keyVaultName = "my-Keyvault-name"; var kvUri…