DEV Community 👩‍💻👨‍💻

Jonas Samuelsson
Jonas Samuelsson

Posted 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) }".

Top comments (0)

Create an Account!
Now it's your turn!
 
🗒 Share a tutorial
🤔 Reflect on your coding journey
❓ Ask a question

Create an account to join hundreds of thousands of DEV members on their journey.