Azure Migrate: Unable to add Hyper-V cluster as discovery source - Source validation failed - The given key was not present in the dictionary.

JD Kussow 15 Reputation points
2024-10-01T19:53:00.0933333+00:00

Walking through the Azure Migrate guide, we set up the project in Azure, created the appliance, and began configuring it. Our goal is to leverage a "Servers, databases and web apps" project within our on-prem infrastructure to help our migration to Azure. We've also run the provided powershell script to prepare the Hyper-V hosts, seeing green "[Done]" messages for each step (script and steps found here)

Unfortunately, we've hit a roadblock when attempting to add our Hyper-V cluster as a discovery source in the Appliance Configuration Manager. We've tried different combinations of credentials, IP addresses, FQDNs and all always result in "Validation Failed. Source validation Failed. The given key was not present in the dictionary."

Is there a way to get more details on why the validation is failing or what key is not present in which dictionary?

We have tested adding another VM that is not in the cluster and are able to add that one successfully, receiving a "Validation successful" message fairly quickly.

Details of our on-prem environment:

  • The Hyper-V hosts are running Windows Server 2022
  • We have tried both domain and non-domain logins
  • VMs are running a combination of Windows server operating systems, though generally are Windows Server 2022
  • Hyper-V VMs are configured with an External network interface and configured with VLAN IDs/VLAN tagging
  • The Hyper-V hosts are part of a cluster

Any help or guidance would be greatly appreciated. Thanks!

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
821 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,742 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rahul Podila 430 Reputation points Microsoft Vendor
    2024-10-24T05:38:41.7966667+00:00

    Hi @JD Kussow
    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here 

    You try to add your Hyper-V cluster as a discovery source in Appliance Configuration Manager, but you receive an error message saying "Validation Failed. Source validation Failed. The supplied key was not in the dictionary". This indicates that there may be a problem with the credentials or configuration of the Hyper-V cluster.  Please follow these steps: 

    1.Check if the credentials you are using to add the Hyper-V cluster are correct and have the required permissions. 

    2.Check if the Hyper-V cluster is configured correctly and all the required components are installed. 

    3.Check if the Hyper-V cluster is accessible from the Appliance Configuration Manager. 

    4.Check if there are any firewalls or network security groups that might be blocking communication between the Appliance Configuration Manager and the Hyper-V cluster. 

    5.Check if there are any issues with the Hyper-V cluster itself, such as misconfigured network settings or missing components. 

    If you have any further queries, do let us know 


    If the answer is helpful, please click "Accept Answer" and "Upvote it"

     


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.