Azure Arc Configuration - The given key was not present in the dictonary (GUI only)

Andreas Hartig 121 Reputation points
2024-04-28T07:06:25.2033333+00:00

Hello Community,

I am trying to join Windows Server 2022 and Windows Server 2025 using the new Azure Arc Configuration GUI.

Using the Azure Arc Configuration GUI always and on both systems gives me "the given key was not present in the dictionary when after choosing the Resource Group and the GUI trying to populate the Azure Region.

Doing the same thing running this script with the same user and settings works perfectly: azcmagent connect --subscription-id "xxxxxxxxxxxxxxx" --resource-group "weu-rg-azurearc" --location "westeurope"
User's image

I already went down the path to try it with the supported Windows Server OS and even re-created an Azure Tenant & Subscriptions and multiple Resource Groups. The result in all scenarios on all Windows Servers using the GUI was the same.

Anyone has an idea on what to try next?

Thanks,
Andreas

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
436 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,222 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Karl Wester-Ebbinghaus 41 Reputation points MVP
    2024-05-11T01:53:39.3766667+00:00
    2 people found this answer helpful.
    0 comments No comments

  2. Andreas Hartig 15 Reputation points MVP
    2024-05-23T09:52:13.2466667+00:00

    Official statement from the Support Team: „….the issue you are experiencing is a global issue impacting all Windows Server clients and unfortunately we can't provide a fix at this time.   

    We are expecting the bug fix to be realized with the next version 1.41. that is scheduled for May. 

    Kindly be informed that the time provided is an estimate and might take more time than expected.“

    2 people found this answer helpful.

  3. David Broggy 5,906 Reputation points MVP
    2024-10-01T01:07:45.1733333+00:00

    still broken. gets stuck at Azure Region with a spinny thing.


  4. Daniel Casota 46 Reputation points
    2024-10-01T12:11:27.05+00:00

    +1 gets stuck at Azure Region --> "The given key was not present in the dictionary."

    Insider Build Windows Server 2025 Datacenter Version 10.0.26040.1000

    Using the cmdline gets stuck at 30% as well.
    User's image


  5. Andreas Hartig 15 Reputation points MVP
    2024-10-01T18:18:23.61+00:00

    Weird. Didn't saved my first answer.

    Update to the latest Windows Operation System and Azure Arc Agent.

    26040 has expired per what I can see: https://betawiki.net/wiki/Windows_Server_2025_build_26040#:~:text=Windows%20Server%202025%20build%2026040%20is%20an

    User's image

    For more information you can also run the azcmagent connect command using --verbose.


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.