Frequently Asked Questions and Known Issues

Issue: PowerShell on Windows Server 2016 returns the error InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException

Resolution: Our initial investigation suggests this is due to the way Server 2016 is validating the certificates on our api, to avoid this issue prior to executing your Invoke-WebRequest or Invoke-RestMethod command execute the following:
$AllProtocols = [System.Net.SecurityProtocolType]’Ssl3,Tls,Tls11,Tls12′
[System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols