-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
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
Labels
No labels