Windows Server 2025 – Part 3 (Azure Arc)

To connect Windows Server 2025 with Azure Arc is the next step for my HomeLab includes configuring the existing Windows Server 2025, the 3 Windows Server 2025, my Linux VM and for using the current supported OS (End of April 2024) we will also add a Windows Server 2022.

Windows Server 2022 – Azure Arc

With the Cumulative Update of 10/10/2023 for Windows Server 2022 we did get a new Azure Arc system tray icon.

Azure Arc Sys Tray for Windows Server 2022
Azure Arc Sys Tray for Windows Server 2022

With Cumulative Update of 10/10/2023 a new Server Manager entry for Azure Arc Management has also been added.

Azure Arc Server Manager for Windows Server 2022
Azure Arc Server Manager for Windows Server 2022

From the Azure Arc Sys Tray and from the Server Manager you can now quickly configure your server using a GUI.

Windows Server 2025 – Azure Arc

Windows Server 2025 comes with the Systray icon per default.

Azure Arc Sys Tray for Windows Server 2022
Azure Arc Sys Tray for Windows Server 2025

There is also an Azure Arc Management Option available in Server Manager with the current preview (April 2024).

Azure Arc Server Manager for Windows Server 2025
Azure Arc Server Manager for Windows Server 2025

Configuring Azure Arc using the Setup GUI

For a manual setup just click the Icon in the Taskbar and click Launch Azure Arc Setup.

Start Azure Arc Setup on Windows Server 2025
Start Azure Arc Setup on Windows Server 2025

The Azure Arc Setup Wizard will walk you through the process of adding your machine to Azure Arc and show you the benefits of doing so. Click Next to continue.

Get Started with Azure Arc
Get Started with Azure Arc

The Setup Agent will perform a quick connectivity and requirements check and download the latest updates before beginning the installation of the Azure Connected Machine Agent. Once the check is complete, click Configure.

Connectivity and requirements check for Azure Arc Setup
connectivity and requirements check for Azure Arc Setup

To start configuring the Azure Connected Machine agent select Next.

You will have to sign in to your Azure environment by choosing the appropriate Azure cloud, and then selecting Sign in to Azure. Yozu will now need to enter your sign-in credentials for Azure.

Sign in to Azure for Azure Arc Setup on Windows Server 2025
Sign in to Azure for Azure Arc Setup on Windows Server 2025

At this point you should configure your Azure Active Directory Tenant, subscription, resource group and Azure region. As you can see from the below screenshot, there is an issue with my Azure Environment or this test setup. I did get the “The given key was not present in the dictionary.” on all servers and even a fresh created new Azure Entra ID Tenant and Subscription in all Azure Regions i tried.

Azure Arc Configuration - The given key was not present in the dictionary
Azure Arc Configuration – The given key was not present in the dictionary

The next screen would finalize the setup and the only image of it i could find, is available here on the blog by Thomas Maurer. This is fixed May 2024. Details are available here.

To continue with my setup i used the powershell command as a workaround.

azcmagent connect --subscription-id "your Azure subscription ID"
--resource-group "your Azure resource group" --location "the Azure location"

Verifying your Azure Arc Connection

The Azure Arc Taskbar icon will now show the connection status for you.

Azure Arc Connection Status on Windows Server 2025
Azure Arc Connection Status on Windows Server 2025

The azcmagent command tool will give you significantly more details about your now Azure Arc enabled server.

azcmagent show
image 29
azcmagent show

Azure Arc configuration for Linux

For some of us incl. myself Linux is not the daily work environment, but luckily configuring Azure Arc for Linux is also easy.

Open the “Add Servers with Azure Arc” blade, configure it for the desired resource groups. Azure region and choose Linux. You can now download a “ready to execute script”. Copy this to your Linux System using i.e. WinSCP and execute it on Linux.

The DeviceLogin option from Microsoft makes this a very simple process.

Summary

This completes Azure Arc enabling all of our Hosts and virtual machines. If you followed this guide and used the same naming convention, then you should see this result.

My test environment enabled for Azure Arc
My test environment enabled for Azure Arc

Uninstalling Azure Arc Setup from Windows Server 2022

The Azure Arc Setup has no impact on your machine until it is configured. If you want to, you can remove it by running the following PowerShell command.

Disable-WindowsOptionalFeature -Online -FeatureName AzureArcSetup
Uninstalling using the GUI on the server is done using the Remove Roles and Features Wizard.
Remove Azure Arc Setup through the GUI on Windows Server 2022
Remove Azure Arc Setup through the GUI on Windows Server 2022

Uninstalling Azure Arc Setup from Windows Server 2025

Removing Azure Arc Setup from a Windows Server 2025 can be done using this command.

DISM /online /Remove-Capability /CapabilityName:AzureArcSetup~~~~

You can also do this through the GUI on the server.

Open the Settings app on the machine and select System, then select Optional features.

Select AzureArcSetup, and then select Remove.

Remove Azure Arc Setup through the GUI on Windows Server 2025
Remove Azure Arc Setup through the GUI on Windows Server 2025

If you missed the start of the journey to setup my home lab you can start here.

Troubleshooting Azure Arc network connection issues by Sarah Lean

Spread the knowledge
Avatar for Andreas Hartig
Andreas Hartig - MVP - Cloud and Datacenter Management, Microsoft Azure

Related Posts

A dragon IT Architect in the shadowrun world looking very concentrated on a document to decided if he should migrate from LAPS to Windows LAPS and when.

Windows LAPS and Legacy LAPS – Key Differences

Windows LAPS (Local Administrator Password Solution) is the successor to the legacy LAPS, offering significant improvements and new features while maintaining some of the core functionalities of its predecessor. Below…

Spread the knowledge
Read more
A dragon IT architect from the shadowrun world sitting on an egg protecting Active Directory

Windows Server 2025 – Part 7 (Active Directory Hardening)

In today’s world, cybersecurity is not just a necessity; it’s a foundation for your business’s integrity and trustworthiness. One of the key components of this foundation is Active Directory hardening….

Spread the knowledge
Read more
A dragon IT Architect in the shadowrun world looking very intensively and focussed into Microsoft Windows Server Event Viewer Logfiles

Windows EventLog for Windows LAPS Events

To monitor Windows LAPS (Local Administrator Password Solution) activities in the Windows Event Log, you can track specific Event IDs.  Key Windows LAPS Events IDs The following events provide critical…

Spread the knowledge
Read more
A dragon IT Architect in the shadowrun world, sitting in a datacenter and having a trust relationship issue

Repairing the Domain Trust Relationship – No Reboot

When managing an Active Directory environment, one of the common issues you might encounter is a broken Domain Trust between a workstation, server and the domain. This can be frustrating,…

Spread the knowledge
Read more
A dragon who is an IT Architect in the shadowrun world currently creating the Active Directory OU structure on Windows Server 2025

Windows Server 2025 – Part 6 (Active Directory Design)

When creating an Active Directory structure it is good to develop the Active Directory design with a focus for efficient management, delegation of administrative tasks, and application of Group Policies…

Spread the knowledge
Read more
A dragon who is an IT Architect in the shadowrun world currently writing powershell scripts to manage Windows Server 2025

Easy PowerShell Scripts for Windows Server 2025 Management

As Windows Server 2025 continues to evolve, system administrators are faced with increasingly complex environments. Fortunately, PowerShell provides an efficient way to automate repetitive tasks, streamline management, and reduce human…

Spread the knowledge
Read more