christaylorcodes / ConnectWiseManageAPI

PowerShell wrapper for the ConnectWise Manage REST API
MIT License
108 stars 61 forks source link

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

Open axiomitdavid opened 1 month ago

axiomitdavid commented 1 month ago

$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 commented 1 month ago

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

axiomitdavid commented 3 weeks ago

Now have seen the same error on New-CWMContact