Hi Niklas Peter Wulff-Høyer
The error "Source Validation Failed" with code '-2146233086' and the message "Index was out of range" during the Azure Migrate discovery process likely indicates an issue with how the Azure Migrate appliance is handling VM data.
Here are some possible causes and troubleshooting steps:
- Index Reference Issue: The error suggests the appliance is trying to access a non-existent index in a collection, possibly due to inconsistent processing of VM data.
WinRM Configuration: Verify that WinRM is properly configured on all affected VMs. Run winrm quickconfig
to test its functionality.
Firewall and Network Settings: Ensure there are no firewall or network issues blocking communication between the Azure Migrate appliance and the VMs. Check that ports 5985 (for WinRM) and 22 (for SSH) are open.
Credentials Verification: Confirm that the credentials used for the failed VMs have the correct permissions and are properly configured in the Azure Migrate appliance.
Event Logs: Enable detailed logging to capture more information during validation attempts, especially for authentication or connectivity errors.
Azure Migrate Appliance Health: Check the appliance's health in the Azure portal to ensure all agents are working correctly and there are no connectivity issues.
- Retry Validation: After making adjustments, try validating the affected VMs individually to pinpoint which VM configurations may be causing the issue.
If you required anything please let us know.