Lesstep
Azure Artifacts · NuGet · Checked November 6, 2026

Azure DevOps: "Unable to load the service index for source" from an Azure Artifacts feed

Before NuGet downloads anything, it reads the feed's service index, the index.json address in your nuget.config. When Azure Artifacts refuses that request, restore stops here. The status code after it tells you which way: 401 means no credentials were sent, or they were not accepted; 403 means the identity was known but has no role on the feed (a Stack Overflow question on this message has been seen over 140,000 times, and Azure DevOps questions with it over 700,000 times in all).

When restore fails in a pull request's build validation, the pull request waits on it: Azure DevOps Pull Requests, a plugin for JetBrains IDEs, lists the pull request's branch policies with their state in your IDE, and with Pro runs a failed build policy again once the feed lets the build in. Get it on JetBrains Marketplace

What it looks like

In a pipeline: give the build identity a role on the feed

dotnet build restores again, without the credentials

The restore task's own feed settings

A feed in another project or organization

On your own machine

Azure DevOps pull requests in IntelliJ IDEA and Rider

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, reads the organization, project and repository from your git remote and lists the pull requests that wait for your review in an IDE tool window, on Azure DevOps Services and on Azure DevOps Server. It shows the branch policies of a pull request with their state, so a required build that has not passed is next to its pull request, and with Pro you run a failed or expired build policy again from there. The review inbox is free; voting, commenting, completing and creating are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps, Azure Artifacts, Azure Pipelines, NuGet and Visual Studio are trademarks of Microsoft Corporation; IntelliJ IDEA and Rider are trademarks of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft or JetBrains.

More: npm: E401 Unable to authenticate from the same kind of feed · the dotnet task matched no project · checkout stops with Git fetch failed with exit code: 128 · no zip where the deploy task looks · 日本語