If the Force HTTPS for exposed integrations in Web Applications option is enabled in the Environment Security section, Get-OSPlatformModules is unable to connect.
After disabling this option, Get-OSPlatformModules is able to connect.
I can see that in /src/Outsystems.SetupTools/Lib/ServiceCenterWebServices.ps1 the Web Services URIs have only the http version of it.
Would it be possible to change it to try https first, then if unable to connect fallback to http? or vice versa.
Thanks,
Marcos