superninja
superninja

Reputation: 3411

Unable to find Microsoft.Azure.Services.AppAuthentication on NuGet Packages

I am using ASP.NET Core framework to build an API with Azure Key Vault. I tried to follow this tutorial but I am not able to find Microsoft.Azure.Services.AppAuthentication in the NuGet packages.

enter image description here

The tutorial is targeted for ASP.Net Core framework and used AzureServiceTokenProvider() from the AppAuthentication package.

enter image description here

Upvotes: 2

Views: 9407

Answers (4)

Junius
Junius

Reputation: 617

For new Azure application development, it is strongly recommended to use Azara.Identity and the new Azure client SDKs. For existing application that uses AppAuthentication, the preferred path is to migrate the package and use the new Azure client SDKs. The package Microsoft.Azure.Services.AppAuthentication has been deprecate and no longer supported.

Please read the documentation here for further details https://learn.microsoft.com/en-us/dotnet/api/overview/azure/app-auth-migration?view=azure-dotnet

Upvotes: 0

Deepak Shaw
Deepak Shaw

Reputation: 667

The 'Microsoft.Azure.Services.AppAuthentication' has been deprecated and replaced by Azure.Identity.

Upvotes: 8

Zair Henrique
Zair Henrique

Reputation: 652

This is a prerelease nuget package so you should check "Include prerelease" option before searching.

Upvotes: 2

Tarek.Eladly
Tarek.Eladly

Reputation: 759

try this link

Microsoft.Azure.Services.AppAuthentication

maybe because it is preview

Upvotes: 2

Related Questions