DEV Community

Jonas Samuelsson
Jonas Samuelsson

Posted on • Updated 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)