Deprecated Nuget Packages

Jay Asbury asked on January 25, 2025 15:10

Microsoft.Azure.KeyVault.Core and other packages are deprecated. Are there plans to replace the deprecated packages with replacements where replacements are available in Kentico 13? There are several tied to Azure functionality.

Recent Answers


vasu yerramsetti answered on February 14, 2025 10:44 (last edited on February 14, 2025 10:46)

Try this -

  1. Microsoft.Azure.KeyVault.Core → Azure.Security.KeyVault.Secrets

Replacement: Use Azure.Security.KeyVault.Secrets, Azure.Identity, and Azure.Security.KeyVault.Keys for secret management.

  • Install the new package:

dotnet add package Azure.Security.KeyVault.Secrets and dotnet add package Azure.Identity

  • Update authentication to use DefaultAzureCredential instead of legacy KeyVaultClient

using Azure.Identity; using Azure.Security.KeyVault.Secrets;

var client = new SecretClient(new Uri("https://your-keyvault-name.vault.azure.net/"), new DefaultAzureCredential());

2. Microsoft.Azure.Storage.Common → Azure.Storage.Blobs

3. Microsoft.WindowsAzure.ConfigurationManager → Azure.Extensions.AspNetCore.Configuration.Secrets

Note: Kentico Xperience 13 Refreshes (Service Packs) have progressively updated dependency management. Ensure you're using the latest Kentico 13 Refresh 5+ version for better compatibility.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.