Graph and PowerShell Blog | About | Links
Connect to Compliance PowerShell behind a Proxy
31-Mar-23

Having to use a proxy can cause a lot extra issues when connecting to PowerShell. For the Compliance PowerShell there is at least a workaround:
$ProxyOptions = New-PSSessionOption -ProxyAccessType ieconfig
Connect-IPPSSession -PSSessionOption $proxyoptions

This is documented on GitHub.