Invoke-WebRequest not working in Azure Automation Invoke-WebRequest not working in Azure Automation powershell powershell

Invoke-WebRequest not working in Azure Automation


I had to wrap Invoke-WebRequest in an InlineScript.