401 Unauthorized
When try use any .NET command like dotnet restore or nuget restore, you've got an error similar to this:
dotnet restore
nuget restore
error: Response status code does not indicate success: 401 (Unauthorized).
To fix this, try to do the steps below:
Follow the steps like described in Microsoft: Use personal access tokens
After generate a personal token, probably you will have something like this in the grid list:
Azure Artifacts Local Desktop
Follow the steps like described in Microsoft: Add a feed to NuGet 2
After that, you will se these changes stored in a file in your USER scope called nuget.config, in the path:
nuget.config
There was an error while loading. Please reload this page.