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
Not clear if we should fix this or just let it continue to work this way. In PS7 we will never try to use a proxy. This apparently didn't cause an issue for customers running CVE-2023-23397.ps1. I know we had some using PS7 when running against Exchange Online.
The text was updated successfully, but these errors were encountered:
Describe the issue
The Confirm-ProxyServer shared function always fails on PowerShell 7. Run any script with -Verbose and observe:
On PowerShell 7, this line throws, so we always end up in the catch:
GetSystemWebProxy() is deprecated and there is a new way to do this: dotnet/runtime#24756 (comment)
However, that doesn't work in Windows PowerShell.
Not clear if we should fix this or just let it continue to work this way. In PS7 we will never try to use a proxy. This apparently didn't cause an issue for customers running CVE-2023-23397.ps1. I know we had some using PS7 when running against Exchange Online.
The text was updated successfully, but these errors were encountered: