ConnectWiseManageAPI icon indicating copy to clipboard operation
ConnectWiseManageAPI copied to clipboard

New-CWMTicketTask - Error - Cannot follow an insecure redirection by default.

Open axiomitdavid opened this issue 1 year ago • 2 comments

$Result = Invoke-CWMWebRequest -Arguments $WebRequestArguments | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | An error has been thrown. --> --> Cannot follow an insecure redirection by default. Reissue the command specifying the -AllowInsecureRedirect switch. at Invoke-CWMWebRequest

axiomitdavid avatar Oct 16 '24 04:10 axiomitdavid

The -AllowInsecureRedirect on Invoke-Webrequest was implemented in PowerShell 7.4 per Microsoft Documetnation on the cmdlet

axiomitdavid avatar Oct 16 '24 04:10 axiomitdavid

Now have seen the same error on New-CWMContact

axiomitdavid avatar Oct 21 '24 04:10 axiomitdavid