Hi,
I'm creating a Windows Azure VM from the builtin templates using the REST Management API.
I'm trying to configure the WinRM to provision the HTTPS listener (exactly as in the create option in the UI when you mark enable powershell remoting).
I have created a service certificate, uploaded it to the hosted service, and installed it on the machine using the StoredCertificateSetting tag in the request. This works perfect, but the WinRM is not provisioned with the HTTPS listener even though I have added the HTTPS listener and the certificate thumbprint in the request XML.
When trying to manually create the listener using the winrm create command line when RDPing to the VM the HTTPS listener is created successfully, which means the certificate is fine.
Has any one successfully used the REST API to provision a VM with HTTPS WinRM listener enabled from first start?
Thank you!