You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
sthayduk
changed the title
Issue with PowerShell Modules in PowerShell 7.5
Issue with PowerShell Module in PowerShell 7.5
Jan 30, 2025
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
The text was updated successfully, but these errors were encountered: