Table Of Contents
- 1 How to Onboard Windows Server to Azure Using Azure Arc
- 2 What is Azure Arc?
- 3 Why Onboard Your Windows Server to Azure Using Azure Arc?
- 4 Prerequisites for Onboarding a Windows Server to Azure Using Azure Arc
- 5 Step-by-Step Guide to Onboard Your Windows Server to Azure Using Azure Arc
- 6 Download and Install the Azure Arc Agent
- 7 Conclusion
- 8 About The Author
How to Onboard Windows Server to Azure Using Azure Arc
Managing on-premises Windows Servers efficiently while leveraging the benefits of cloud infrastructure is a challenge for many organizations. With Azure Arc, Microsoft provides a seamless solution to extend Azure services and management to on-premises, multi-cloud, and edge environments. In this blog post, we will guide you through the process of onboarding your Windows Server to Azure using Azure Arc, allowing you to centralize management, governance, and security of your infrastructure across hybrid environments.
What is Azure Arc?
Azure Arc is a Microsoft Azure technology that extends Azure management to any infrastructure, enabling you to manage resources like Windows Servers, Kubernetes clusters, and databases from within the Azure portal. Whether your workloads are running on-premises, in other clouds, or at the edge, Azure Arc brings the benefits of Azure’s governance, security, and monitoring capabilities to those environments.
Why Onboard Your Windows Server to Azure Using Azure Arc?
Before diving into the technical steps, let’s explore some key reasons why onboarding your Windows Server to Azure Arc is beneficial:
- Centralized Management: Azure Arc allows you to manage on-premises Windows Servers alongside your Azure resources from a single pane of glass in the Azure portal.
- Enhanced Security and Governance: With Azure policies and Azure Security Center, you can apply governance and security policies consistently across your on-premises infrastructure.
- Cloud-Native Benefits: Take advantage of cloud-native services like Azure monitoring, logging, and application insights on your on-premises resources.
- Hybrid Cloud Capabilities: Enable hybrid cloud scenarios by integrating your on-premises resources into the Azure ecosystem for seamless interoperability.
- Cost Optimization: Azure Arc offers the flexibility to manage both on-premises and cloud resources efficiently, potentially leading to optimized costs.
Prerequisites for Onboarding a Windows Server to Azure Using Azure Arc
Before you begin, make sure you have the following prerequisites in place according to Microsoft:
- Azure Subscription: You need an active Azure subscription to use Azure Arc and its related services.
- Azure Arc-enabled Resource Provider: Ensure that your Azure subscription is configured with the Azure Arc-enabled resource provider.
- Windows Server Version: Azure Arc supports Windows Server 2012, 2016, 2019, and 2022. Make sure your on-premises server is running one of these versions with an active license.
- Permissions: You need sufficient permissions, such as Contributor or Azure Connected Machine Onboarding, to onboard resources to Azure Arc.
- Connectivity: Your Windows Server must have outbound internet connectivity to Azure.
Step-by-Step Guide to Onboard Your Windows Server to Azure Using Azure Arc
Login to Azure Portal, search for Azure Arc in the search bar, and select Azure Arc, as shown below.

In the Azure Arc dashboard, click on Add Resources to begin adding your on-premises resources to Azure Arc.

For this example, I am going to onboard a Windows Server machine. In the Azure Arc dashboard, click on Azure Arc resources > Machines > + Add/Create, then click Add a machine to begin adding your on-premises resources to Azure Arc.

You have the option to add multiple servers to Azure. For this example, I will add a single server. On Add a single server, Click on Generate script.

Select your Azure subscription, Select a Resource group, or create a new resource group. Specify your Region and your Operating system, as shown below. Click on the Download and run button.

Download and Install the Azure Arc Agent
You will need to install the Azure Arc agent on your on-premises server, which is used to connect your on-premises server to Azure. You have the option to either copy the script and run it on your on-premises server using the command prompt or download the script and run It in Powershell. To run the script using the command prompt on your Windows Server, open the Command prompt as an administrator. Copy and paste the command provided in the Azure portal to install the Azure Arc agent. The command will download and install the agent, after which the server will be registered with Azure Arc. For this example, I will download the script. Click on the Download button.

Right-click on your downloaded script and click on run in Powershell. It should look similar to the screenshot below.

You will be prompted to log in to Azure. Enter your username and password to sign in. Give it about 5 minutes for your on-premises Windows server to show up in Azure.

Once the agent installation is complete, return to the Azure portal and verify that the Windows Server appears in the Azure Arc section. In the Azure Arc dashboard, click on Machine in the left-hand side pane. Your dashboard should look similar to the screenshot below.
The on-premises server was successfully onboarded to Azure.

Once your Windows Server is onboarded and integrated with Azure Arc, you can take advantage of several Azure hybrid capabilities, including:
- Azure Policies: Now that your Windows Server is onboarded, you can apply Azure policies for governance, compliance, and security. This ensures that your on-premises server complies with corporate standards.
- Monitoring Insight: Monitoring Insight can now be used to track performance, logs, and metrics from your on-premises server.
- Azure Security: Security to provide a unified view of your security posture across on-premises and cloud resources. To Monitor security alerts and recommendations, Conduct vulnerability assessments, and Ensure your server is protected with Azure security best practices.
Click on the newly added machine and click on Overview. Here, you will find the lists of services you can add to improve performance, security, and compliance.

Conclusion
Onboarding your Windows Server to Azure using Azure Arc provides a unified management experience for hybrid cloud environments. By following the steps outlined in this blog, you can now manage, secure, and monitor your on-premises Windows Server alongside your Azure resources, taking advantage of Azure’s governance, security, and cloud-native services. Whether for compliance, security, or operational efficiency, Azure Arc unlocks the full potential of your on-premises infrastructure.