VSCode and Azure private feeds
Scenario - Building a project that has packages in an Azure private feed ‘just works’ in Visual Studio but VSCode receives a Response status code does not indicate success: 401 (Unauthorized)
error.
In the interest of time my immediate approach was just to use Visual Studio for the build, however, I’m trying to use VSCode wherever possible now - so this was less than ideal. The primary setup information is entirely Visual Studio based but after a bit of digging I found the Azure artifacts credentials provider for nuget which appears to have been created for exactly this situation. Running the provided Powershell helper script installed nuget plugin files under "%USERPROFILE%\.nuget\plugins\netcore\CredentialProvider.Microsoft"
and then everything started working as expected.