Step-by-Step Guide – Robert Smit MVP Blog


Table of Contents

Introduction

Azure Arc enables you to manage your on-premises Windows Servers as if they were native Azure resources.
With Azure Arc, you can apply policies, deploy extensions, and monitor systems — all through the Azure portal.
This guide is designed for system administrators and IT professionals looking to onboard their Windows Servers into Azure.

Prerequisites

  • Windows Server 2012 R2 or higher
  • Internet access (direct or via proxy)
  • An active Azure subscription
  • Azure CLI or PowerShell installed
  • Local admin rights on the server
  • TLS 1.2 enabled

Step 1: Register the Azure Resource Provider

az login
az provider register --namespace Microsoft.HybridCompute
az provider register --namespace Microsoft.GuestConfiguration

Step 2: Download the Azure Arc Onboarding Script

  1. Go to Azure Arc > Servers in the Azure Portal.
  2. Click Add and select Generate script.
  3. Choose your subscription and resource group.
  4. Set the region and OS type.
  5. Download the generated PowerShell script.

Step 3: Run the Script on Your Windows Server

Transfer the script to your server and run in PowerShell as Administrator:

.\OnboardingScript.ps1

This installs the Azure Connected Machine agent and registers the server.

Step 4: Verify Registration

In the Azure Portal:

  • Navigate to Azure Arc > Servers
  • Confirm your server appears with the correct name and status

On the server:

Get-Service -Name "himds"

Common Issues

  • Script fails: Ensure TLS 1.2 is enabled and script execution is allowed.
  • DNS errors: Check outbound connectivity to Azure.
  • Proxy issues: Configure proxy before running the script.

Tips for Management

  • Apply baselines with Azure Policy
  • Enable monitoring via Log Analytics agent
  • Use Update Management in Azure Automation

Conclusion

With Azure Arc, your on-prem Windows Server becomes a first-class Azure resource.
This improves manageability, compliance, and scalability in hybrid environments.
For advanced scenarios, consult the
official Microsoft documentation.


Author: Robert Smit – Microsoft MVP Hybrid Cloud & Azure

For more tutorials, visit robertsmit.wordpress.com

Unknown's avatar

Author: Robert Smit [MVP]

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009.
Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries.
Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals
who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications:
MCT – Microsoft Certified Trainer, MCTS – Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization.
Follow Robert on Twitter @ClusterMVP
Or follow his blog https://robertsmit.wordpress.com
Linkedin Profile Http://nl.linkedin.com/in/robertsmit

Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues.

A customer says ” Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. ”

Details of the Recommendation: “I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project
View all posts by Robert Smit [MVP]




Share this content:

I am a passionate blogger with extensive experience in web design. As a seasoned YouTube SEO expert, I have helped numerous creators optimize their content for maximum visibility.

Leave a Comment