Skip to content

Issue with PowerShell Module in PowerShell 7.5 #538

@sthayduk

Description

@sthayduk

Hi,

since the release of PowerShell 7.5, the PowerShell modules no longer work. We encounter the following error:

Add-Type: (7,36): error SYSLIB0014: 'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are
obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.'
(https://aka.ms/dotnet-warnings/SYSLIB0014) public static void SetCallback() {
System.Net.ServicePointManager.ServerCertificateValidationCallback = ValidationCallback; }

Module Version is 7.5.146913

Could you provide guidance on how to resolve this issue?

Best regards,
Stefan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions