Skip to content

yer.ac | Adventures of a developer, and other things.

  • About
  • Dev.to

yer.ac | Adventures of a developer, and other things.

Blog to keep track of things I am upto

VS2019 (+2022) keeps asking for Azure Devops Credentials on build

October 6, 2021 by yer.ac

We run our own nuget feed via Azure, and despite the user that’s logged into VS is authenticated users are constantly asked to provide their credentials again when package restore is happening. A quick fix below – Mostly so I don’t forget or can forward this to others later.

  • Verify no “out of date” credentials or old credentials exist within File -> Account Settings. Remove or update as appropraite.
  • Select “Account options” and under “Sign-In options”, select the “System Web Browser” as the authentication.

There seems to be a bug in VS (Going back to mid 2019) where the embedded browser does not retain the credentials.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest

Related

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest

Post navigation

Previous Post:

Fixing “hostfxr.dll could not be found” within Windows Docker container (.NET installed from dotnet-install.ps1)

Next Post:

Polymorphic Serialization & Deserialziation of Interface implementations in dotnet

2 Commments

  1. Alex says:
    February 8, 2023 at 11:59 am

    Thanks for the article. Switching to “System web browser” fixed it for me.

    Reply
  2. DevMan says:
    November 18, 2024 at 10:05 am

    This saved me ages. Latest VS2022 update altered this setting automatically!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Dev.To Profile

Rich's DEV Profile

Tags

agile Azure AzureDevOps Azure Functions ContinuousImprovement Cosmos DB Cypress DevOps docker dotnet ES6 function-calling GPT Javascript Mocha NLOG Nuget openai podcast podgrab PowerShell python QNAP SCRUM SonarQube Testing TFS VisualStudio VSCODE VSTS wordpress
© 2025 yer.ac | Adventures of a developer, and other things. - Powered by Minimalisticky
 

Loading Comments...