Skip to content

PowerShell Invoke-WebRequest fails on .NET 11 Windows SDK images #7017

Description

@lbussell

Description

PowerShell's Invoke-WebRequest fails with exit code -2147483644 on .NET 11 Windows SDK images.

Error Details

System.InvalidOperationException : Failed to execute docker run --name 11.0-pwsh-134140212351212230 --rm mcr.microsoft.com/dotnet/nightly/sdk:11.0-preview-windowsservercore-ltsc2025 pwsh -nologo -noprofile -c (Invoke-WebRequest -Uri 'https://graph.microsoft.com').StatusCode
Exit code: -2147483644

Affected Images

  • mcr.microsoft.com/dotnet/nightly/sdk:11.0-*-nanoserver-*
  • mcr.microsoft.com/dotnet/nightly/sdk:11.0-*-windowsservercore-*

Notes

The VerifyPowerShellScenario_InvokeWebRequest test has been disabled for these images until this is resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions