hello @HarshitaSingh-MSFT Please help me on issue . I am getting azure keyvault secrets and certificate in my local which is running on iisexpress. when i publish the code to production not working. Same way in local changed the runtime from iisexpress to IIS it is not working . I am using az cli login and also visual studio credentials is it possible to change settings IIS to iisexpress inside azure app service.
var kvUri = $"https://{keyVaultName}.vault.azure.net";
ConfigurationBuilder builder = new ConfigurationBuilder();
builder.AddAzureKeyVault(new Uri(kvUri), new DefaultAzureCredential());
IConfiguration configuration = builder.Build();
using above code output certificate value adding to rest api headers to access my backend api. and the certificate is vary customer to customer . exact issue is explained in the link the-system-cannot-find-the-file-specified-azure-key-vault-certificat