Use dotnet with Azure Artifacts feeds

On developer machines

To use dotnet with Azure Artifacts NuGet feeds, use the cross-platform Azure Artifacts Credential Provider.

On build machines and in non-interactive scenarios

In Azure Pipelines, use the .NET Core step's restore command, which automatically handles authentication to Azure Artifacts feeds. Otherwise, use the Azure Artifacts Credential Provider and pass in credentials using the VSS_NUGET_EXTERNAL_FEED_ENDPOINTS environment variable.