@Simon Windeler Thank you for contacting us!
The error message you're encountering suggests issues with the Windows Remote Management (WinRM) configuration, especially in a multi-domain environment with a DMZ.
First thing, you need to resolve WinRM Connection Issues:
- Ensure that WinRM is properly configured on the IIS servers in the DMZ.
- Run the following command on the IIS server to check the current WinRM configuration:
winrm get winrm/config
Secondly, Set Up TrustedHosts:
- Since the Azure Migrate appliance is not joined to the domain, you need to add the IIS server(s) to the TrustedHosts list.
- On the Azure Migrate appliance (or any management server trying to connect), run:
winrm set winrm/config/client '@{TrustedHosts="IIS_Server_IP"}'
- You can replace
IIS_Server_IP
with the actual IP address of your IIS server. If you have multiple servers, separate them with commas (e.g.,"Server1_IP,Server2_IP"
).
If your authentication scheme requires it, configure WinRM to use HTTPS. This can enhance security and is often required when dealing with machines not in the same domain.
To configure HTTPS:
- First, ensure that a valid SSL certificate is installed on the IIS server.
- Then, run the following command on the IIS server to enable HTTPS for WinRM:
winrm create winrm/config/Listener?Address=*+Transport=HTTPS '@{Hostname="IIS_Server_FQDN";CertificateThumbprint="YOUR_CERT_THUMBPRINT"}'
Replace IIS_Server_FQDN
with the fully qualified domain name of the IIS server and YOUR_CERT_THUMBPRINT
with the thumbprint of the SSL certificate.
Ensure that the firewall on the IIS server allows traffic on the WinRM ports (default is 5985 for HTTP and 5986 for HTTPS). Also, check any network firewalls between the Azure Migrate appliance and the DMZ IIS servers.
Hope these steps help resolve your issue. If problem persist, check the WinRM logs for any additional error messages. The logs are typically located in the Event Viewer under Applications and Services Logs > Microsoft > Windows > WinRM.
If the response helped, do "Accept Answer" and up-vote it