Skip to content

NuGet restore is returning 401 Unauthorized from internal Azure DevOps feeds #5532

Closed

Description

@DonnaChen888

Repro Pipeline:
20260411.2

Repro Branch:
main

Error Message:

/__w/1/s/artifacts/prep-bootstrap/buildBootstrapPreviouslySB.csproj : error NU1301: Failed to retrieve information about 'Microsoft.NETCore.App.Crossgen2.linux-arm64' from remote source '[https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet8-internal/nuget/v2/FindPackagesById()?id='Microsoft.NETCore.App.Crossgen2.linux-arm64'&semVerLevel=2.0.0'.](https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet8-internal/nuget/v2/FindPackagesById()?id=%27Microsoft.NETCore.App.Crossgen2.linux-arm64%27&semVerLevel=2.0.0%27.)
/__w/1/s/artifacts/prep-bootstrap/buildBootstrapPreviouslySB.csproj : error NU1301:   Response status code does not indicate success: 401 (Unauthorized).
  Failed to restore /__w/1/s/artifacts/prep-bootstrap/buildBootstrapPreviouslySB.csproj (in 8.77 sec).

##[error]Bash exited with code '1'.

Activity

  1. added
    ops-monitor
    on Apr 13, 2026
  2. ellahathaway commented on Apr 13, 2026

    @ellahathaway
    Member

    NuGet restore is returning 401 Unauthorized from internal Azure DevOps feeds (pkgs.dev.azure.com/dnceng/internal/_packaging/*). The issue is affecting the following branches:

    • main — Prep the Build fails (AlmaLinux8, Ubuntu Arm64) — Build 2949715
    • release/10.0.2xx — Sign Source-Built Artifacts fails (CentOS Stream 10) — Build 2949895
    • release/10.0.3xx — Sign Source-Built Artifacts fails (CentOS Stream 10) — Build 2949902
    • release/11.0.1xx-preview3 — Prep the Build fails (CentOS Stream 10, Ubuntu Arm64) — Build 2949727

    The affected feeds include dotnet6/7/8/9/10-internal and dotnet-eng-internal (plus transport variants). The failure point varies by branch — some fail during bootstrap prep, others during artifact signing — but the root cause is the same: expired or misconfigured credentials for internal NuGet feed authentication in container-based pipeline jobs.

  3. ellahathaway commented on Apr 13, 2026

    @ellahathaway
    Member

    This appears to have been a transient issue caused by a token rotation today. The latest release/10.0.1xx pipeline run (Build 2949953) completed the source-build stage successfully, indicating the internal feed credentials are working again. Monitoring other branches to confirm the issue is fully resolved.

  4. ellahathaway commented on Apr 14, 2026

    @ellahathaway
    Member

    The issue is still occurring and offline discussions revealed that the token rotation was irrelevant

  5. changed the title [-]error NU1301: Failed to retrieve information about 'Microsoft.NETCore.App.Crossgen2.linux-arm64'[/-] [+]NuGet restore is returning 401 Unauthorized from internal Azure DevOps feeds[/+] on Apr 14, 2026
  6. ellahathaway commented on Apr 15, 2026

    @ellahathaway
    Member

    Resolving — issue no longer active.

    The NuGet 401 Unauthorized failures against internal Azure DevOps feeds have cleared across the affected branches:

    • main ✅ Recovered
    • release/10.0.2xx ✅ Recovered
    • release/10.0.3xx ✅ Recovered
    • release/11.0.1xx-preview3 — No longer applicable (Preview 3 has shipped; branch is no longer actively built)

    Since all active branches are passing NuGet restore against internal feeds and the remaining affected branch has aged out with the Preview 3 release, closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ops-monitoruntriaged

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions