how to authenticate visual studio to Azure devops private nuget feed?
I have tried adding it through visual studio and logging in with my Microsoft account but it does not work
8 Replies
Go to the feed in azure devops and it should provide detailed instructions.
If those instructions don’t work you may need to set permissions on the feed.
I followed the instructions in the feed on azure devops and can connect but I can not authorize
It did not specify how to authenticate
I'm not 100% certain it's still needed, but did you install the Azure Artifacts Credential Provider?https://github.com/microsoft/artifacts-credprovider#azure-artifacts-credential-provider
GitHub
GitHub - microsoft/artifacts-credprovider: The Azure Artifacts Cred...
The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds. - GitHub - microsoft/artifacts-credprovider: The Azure...
I am not sure but I will try thanks
I tried adding my credentials to nuget sources
Get started with NuGet packages and Azure Artifacts - Azure Artifacts
Use Azure Artifacts to publish and download NuGet packages to and from Artifacts feeds
this is the docs and it still says to install the provider
Thanks
I think I’ve only had to use the credential provider for vscode