I have configured a feed source for Artificats in Azure DevOps. I can publish to the feed from the CLI and the packages show up in the Visual Studio UI successfully:
The artifacts show as expected in the DevOps UI as well:
I have added the feed url as a source to the project within the nuget.config file. However, during the Pipeline build I get a 401 error:
I assumed that having the build service as an authorized user would be sufficient, but clearly I'm missing something:
How do I configure this so that my pipelines have access to get the packages?
Make sure you add a NuGet Auth task prior to the task running dotnet restore. It will add the right configuration for the build job.