Azure Migrate discovery issues, unable to remove discovered servers and unable to add server 2016 cluster

Cristopher Klint 30 Reputation points
2024-10-16T12:49:21.1766667+00:00

Hi,

We are setting up Azure Migrate and are currently stuck on the discovery part.

I managed to input the wrong cluster under discovery source and I can't find any way to delete this resource on the appliance the delete option is not available. The status has been in Discovery initated for a couple of hours and the servers turn up in the portal for this cluster (see pic below row #2). In Azure Portal i can't find a way to stop the discovery of the VMs on this cluster which i believe might be the first step.

User's image

In addition I tried to add the correct cluster which is Win Server 2016 and validation fails with "The given key was not present in the dictionary"

User's image

I found this thread https://learn.microsoft.com/en-us/answers/questions/1624995/the-given-key-was-not-present-in-dictionary and has set the envelope size (Set-Item -Path WSMan:\localhost\MaxEnvelopeSizeKb -Value 8192) on all hosts as well as on the appliance but I am stuck with the same error so I am unable to add this cluster. The account used is Domain admin and has full access to the cluster.

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
868 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Cristopher Klint 30 Reputation points
    2024-10-21T07:18:19.6333333+00:00

    I managed to sort this, the cluster had some storage issues and one node was down in the cluster. Unsure exactly what did the trick but I evicted the node that was down and then validation was fine for the cluster. However I was not able to start discovery as the button was greyed out. restarted appliance to no avail and ended up deploying a new appliance which worked as intended for the discovery part.

    0 comments No comments

  2. Oliver Geissler 0 Reputation points
    2025-02-19T14:06:36.35+00:00

    I managed "The given key was not present in the dictionary" by adding an unresolvable hyper-v host to the appliance' hosts file.

    We noticed that we can't connect to the hyper-v host via mstsc using the NetBIOS Name from the appliance.

    Oliver.

    0 comments No comments

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.