DEV Community

Jonas Samuelsson
Jonas Samuelsson

Posted on • Edited on

dotnet restore --interactive not prompting

I recently had a situation where doing dotnet restore from the command line resulted in 401 responses and adding the --interactive didn't work to prompt for credentials.

After some googling I found a github issue indicating that Microsofts Azure Artifacts Credential Provider should be installed / updated.

TLDR; run iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -Force".

Top comments (0)

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay