Azure Arc
Azure Arc projects on-premises, multicloud, and edge resources into Azure Resource Manager so
they can be governed, secured, and managed with the same control plane as Azure-native
resources, extending Azure Policy, Microsoft Defender for Cloud, and Azure Monitor to hybrid
estates.
When to use
Bringing non-Azure servers, Kubernetes clusters, and data services under consistent Azure
governance and security. Use this skill when you need one pane of glass and policy plane
across hybrid / multicloud machines.
Do not use this skill for Azure-native VMs (use ARM directly), Intune-managed endpoints
(intune-device-mgmt), or Azure Stack HCI deployment.
Pick the Arc capability by resource type
| Resource type |
Arc service |
What you get |
| On-prem / AWS / GCP server |
Arc-enabled servers |
Defender for Cloud, Policy, Update Manager, Monitor, RBAC |
| Non-AKS Kubernetes (on-prem, EKS, GKE) |
Arc-enabled Kubernetes |
GitOps via Flux, Policy, Monitor, Defender for Containers |
| SQL Server on-prem / other cloud |
Arc-enabled SQL Server |
Inventory, best-practice assessment, Defender |
| PostgreSQL / SQL MI at edge |
Arc-enabled data services |
Managed PaaS-like experience at edge |
| Hybrid app platform (containerised) |
Arc-enabled App Services / Functions |
PaaS runtime on Arc-enabled K8s |
Rule of thumb: start with Arc-enabled servers for hybrid posture - it's the
highest-value, lowest-friction step. The Connected Machine agent gives you Defender for
Cloud and Azure Policy across the hybrid estate for the price of an outbound HTTPS connection.
Approach
Plan the onboarding scope and identity — Decide which subscriptions / resource groups
own the Arc resources. Define the target resource group per region / per business unit.
Pre-create service principals if onboarding at scale via script.
Verify: target RG exists with the Azure Connected Machine Onboarding role assigned to
the onboarding identity.
Plan network and proxy requirements — Connected Machine agent needs outbound HTTPS
(443) to a defined list of Microsoft endpoints. If servers are behind a corporate proxy,
configure the agent for proxy + auth. Some endpoints require firewall allowlisting.
Verify: a pilot server can reach *.his.arc.azure.com, *.guestconfiguration.azure.com,
*.dp.kubernetesconfiguration.azure.com (for K8s); agent install completes.
Onboard servers at scale — Pilot 5-10 servers manually (one Windows, one Linux).
Then script the rollout: GPO / Ansible / Configuration Manager for Windows; cloud-init /
Ansible for Linux. The agent script accepts service principal + tags.
Verify: Arc resource appears in the target RG; Connected status; tags applied.
Govern with Azure Policy + machine configuration — Assign Azure Policy initiatives
(e.g. Azure Security Benchmark) at the RG / subscription scope. Machine configuration
(formerly guest configuration) audits in-OS settings on Arc machines just like Azure
VMs.
Verify: ASB initiative shows compliance state for Arc machines; in-OS audit returns
results (e.g. password complexity).
Extend Defender for Cloud — Enable Defender for Servers Plan 2 on the subscription
that contains the Arc resources. Defender deploys MDE, file integrity monitoring, and
adaptive controls to the Arc machines.
Verify: Defender for Servers shows Arc machines as protected; MDE shows them onboarded.
Unify monitoring + updates — Send Arc machines' logs to Log Analytics via Azure
Monitor Agent (extension). Use Azure Update Manager to assess and deploy updates from
Azure across the hybrid fleet.
Grant access via Azure RBAC — Arc machines are ARM resources. Use Azure RBAC + PIM
for who can manage them. The Arc agent also enables a managed identity on the machine
for outbound calls to Azure services.
Guardrails
- Secure the Connected Machine agent and its outbound connectivity; scope its managed
identity to least privilege. A compromised agent identity = lateral path into Azure.
- Plan network/proxy and firewall requirements before broad onboarding. Failed agents
silently never report - looks like the estate is healthy when it's blind.
- Use Arc to unify security posture - don't leave hybrid servers outside Defender for
Cloud. A "we'll get to hybrid later" gap is where ransomware lives.
- Arc Policy = on-prem Policy. Same policies you apply to Azure VMs should hit Arc
machines. Assign at the management group / subscription level for inheritance.
- Tag Arc resources consistently with Azure-native ones. Otherwise cost reports,
ownership, and Defender prioritisation break.
- Defender for Servers Plan 2 is per-machine-billed. Cost-aware onboarding; pilot first.
Common anti-patterns
- "Onboard servers without firewall planning" - Agents fail silently; estate looks
unmanaged. Allowlist first.
- "Manual onboarding for 5,000 servers" - Not maintainable. Script with SP + tags.
- "Defender for Servers Plan 1 only" - Plan 1 lacks MDE / vuln management /file
integrity. Plan 2 for production.
- "Use Arc agent as a remote-execution back door" - Tempting but breaks the security
model. Use Run Command via ARM, governed by RBAC.
- "Tag Arc machines differently from Azure VMs" - Reports diverge. Same tagging
scheme.
- "Don't onboard servers in legacy DCs because they're going away" - They're not going
away as fast as you think; unmanaged DCs are the breach origin.
Example prompts
Onboard on-premises servers to Azure with Arc and extend Defender for Cloud to them.
How do I govern multicloud machines from Azure using Azure Arc?
Deploy the Azure Arc agent at scale via service principal and apply security policy.
Bring Arc-enabled Kubernetes clusters under central governance with Flux GitOps.
Apply the Azure Security Benchmark initiative to Arc-enabled servers.
Plan network and proxy requirements before broad Arc onboarding.
Microsoft Learn
1---2name: azure-arc3description: Guidance for Azure Arc — projecting on-premises, multicloud (AWS/GCP), and edge servers, Kubernetes, and data services into Azure Resource Manager for unified governance, security, and management. Covers Arc-enabled servers onboarding, extending Defender for Cloud and Azure Policy to non-Azure machines, and Arc-enabled Kubernetes. WHEN: Azure Arc, manage on-prem servers from Azure, hybrid management, Arc-enabled servers, Arc Kubernetes, extend Defender for Cloud to on-prem, govern multicloud machines, Connected Machine agent, Arc agent, hybrid security posture, machine configuration, guest configuration. DO NOT USE for Azure-native VMs only (use Azure Resource Manager directly), Intune-managed endpoints (use intune-device-mgmt), or Azure Stack HCI specifically (separate product).4license: MIT5---67# Azure Arc89Azure Arc projects on-premises, multicloud, and edge resources into Azure Resource Manager so10they can be governed, secured, and managed with the same control plane as Azure-native11resources, extending Azure Policy, Microsoft Defender for Cloud, and Azure Monitor to hybrid12estates.1314## When to use15Bringing non-Azure servers, Kubernetes clusters, and data services under consistent Azure16governance and security. Use this skill when you need one pane of glass and policy plane17across hybrid / multicloud machines.1819**Do not use this skill** for Azure-native VMs (use ARM directly), Intune-managed endpoints20(`intune-device-mgmt`), or Azure Stack HCI deployment.2122## Pick the Arc capability by resource type2324| Resource type | Arc service | What you get |25|---|---|---|26| On-prem / AWS / GCP server | **Arc-enabled servers** | Defender for Cloud, Policy, Update Manager, Monitor, RBAC |27| Non-AKS Kubernetes (on-prem, EKS, GKE) | **Arc-enabled Kubernetes** | GitOps via Flux, Policy, Monitor, Defender for Containers |28| SQL Server on-prem / other cloud | **Arc-enabled SQL Server** | Inventory, best-practice assessment, Defender |29| PostgreSQL / SQL MI at edge | **Arc-enabled data services** | Managed PaaS-like experience at edge |30| Hybrid app platform (containerised) | **Arc-enabled App Services / Functions** | PaaS runtime on Arc-enabled K8s |3132> **Rule of thumb:** start with **Arc-enabled servers** for hybrid posture - it's the33> highest-value, lowest-friction step. The Connected Machine agent gives you Defender for34> Cloud and Azure Policy across the hybrid estate for the price of an outbound HTTPS connection.3536## Approach37381. **Plan the onboarding scope and identity** — Decide which subscriptions / resource groups39 own the Arc resources. Define the **target resource group per region / per business unit**.40 Pre-create service principals if onboarding at scale via script.41 *Verify: target RG exists with the `Azure Connected Machine Onboarding` role assigned to42 the onboarding identity.*43442. **Plan network and proxy requirements** — Connected Machine agent needs outbound HTTPS45 (443) to a defined list of Microsoft endpoints. If servers are behind a corporate proxy,46 configure the agent for proxy + auth. Some endpoints require firewall allowlisting.47 *Verify: a pilot server can reach `*.his.arc.azure.com`, `*.guestconfiguration.azure.com`,48 `*.dp.kubernetesconfiguration.azure.com` (for K8s); agent install completes.*49503. **Onboard servers at scale** — Pilot 5-10 servers manually (one Windows, one Linux).51 Then script the rollout: GPO / Ansible / Configuration Manager for Windows; cloud-init /52 Ansible for Linux. The agent script accepts service principal + tags.53 *Verify: Arc resource appears in the target RG; `Connected` status; tags applied.*54554. **Govern with Azure Policy + machine configuration** — Assign Azure Policy initiatives56 (e.g. Azure Security Benchmark) at the RG / subscription scope. **Machine configuration57 (formerly guest configuration)** audits in-OS settings on Arc machines just like Azure58 VMs.59 *Verify: ASB initiative shows compliance state for Arc machines; in-OS audit returns60 results (e.g. password complexity).*61625. **Extend Defender for Cloud** — Enable **Defender for Servers Plan 2** on the subscription63 that contains the Arc resources. Defender deploys MDE, file integrity monitoring, and64 adaptive controls to the Arc machines.65 *Verify: Defender for Servers shows Arc machines as protected; MDE shows them onboarded.*66676. **Unify monitoring + updates** — Send Arc machines' logs to Log Analytics via Azure68 Monitor Agent (extension). Use **Azure Update Manager** to assess and deploy updates from69 Azure across the hybrid fleet.70717. **Grant access via Azure RBAC** — Arc machines are ARM resources. Use Azure RBAC + PIM72 for who can manage them. The Arc agent also enables a **managed identity** on the machine73 for outbound calls to Azure services.7475## Guardrails76- **Secure the Connected Machine agent and its outbound connectivity; scope its managed77 identity to least privilege.** A compromised agent identity = lateral path into Azure.78- **Plan network/proxy and firewall requirements before broad onboarding.** Failed agents79 silently never report - looks like the estate is healthy when it's blind.80- **Use Arc to unify security posture - don't leave hybrid servers outside Defender for81 Cloud.** A "we'll get to hybrid later" gap is where ransomware lives.82- **Arc Policy = on-prem Policy.** Same policies you apply to Azure VMs should hit Arc83 machines. Assign at the management group / subscription level for inheritance.84- **Tag Arc resources consistently with Azure-native ones.** Otherwise cost reports,85 ownership, and Defender prioritisation break.86- **Defender for Servers Plan 2 is per-machine-billed.** Cost-aware onboarding; pilot first.8788## Common anti-patterns89- **"Onboard servers without firewall planning"** - Agents fail silently; estate looks90 unmanaged. Allowlist first.91- **"Manual onboarding for 5,000 servers"** - Not maintainable. Script with SP + tags.92- **"Defender for Servers Plan 1 only"** - Plan 1 lacks MDE / vuln management /file93 integrity. Plan 2 for production.94- **"Use Arc agent as a remote-execution back door"** - Tempting but breaks the security95 model. Use Run Command via ARM, governed by RBAC.96- **"Tag Arc machines differently from Azure VMs"** - Reports diverge. Same tagging97 scheme.98- **"Don't onboard servers in legacy DCs because they're going away"** - They're not going99 away as fast as you think; unmanaged DCs are the breach origin.100101## Example prompts102- `Onboard on-premises servers to Azure with Arc and extend Defender for Cloud to them.`103- `How do I govern multicloud machines from Azure using Azure Arc?`104- `Deploy the Azure Arc agent at scale via service principal and apply security policy.`105- `Bring Arc-enabled Kubernetes clusters under central governance with Flux GitOps.`106- `Apply the Azure Security Benchmark initiative to Arc-enabled servers.`107- `Plan network and proxy requirements before broad Arc onboarding.`108109## Microsoft Learn110- Azure Arc overview: https://learn.microsoft.com/azure/azure-arc/overview111- Arc-enabled servers: https://learn.microsoft.com/azure/azure-arc/servers/overview112- Defender for Cloud + Arc: https://learn.microsoft.com/azure/defender-for-cloud/quickstart-onboard-machines113- Arc network requirements: https://learn.microsoft.com/azure/azure-arc/servers/network-requirements114- Onboard at scale: https://learn.microsoft.com/azure/azure-arc/servers/onboard-service-principal115- Arc-enabled Kubernetes: https://learn.microsoft.com/azure/azure-arc/kubernetes/overview116- Azure Update Manager: https://learn.microsoft.com/azure/update-manager/overview117- Machine configuration: https://learn.microsoft.com/azure/governance/machine-configuration/overview