Agent Foskett Academy • Microsoft Defender for Cloud • Module 1 • Lesson 7

Lesson 7 — Azure Arc Integration

Azure Arc extends Azure management and Microsoft Defender for Cloud protection beyond native Azure resources. It allows supported Windows and Linux servers running on-premises, in datacentres, at branch offices or in other clouds to appear in Azure as manageable resources.

Once a machine is connected through Azure Arc-enabled servers, organisations can apply Azure Policy, deploy approved extensions, review inventory, monitor configuration, assign tags and connect the machine to Defender for Cloud protection.

This lesson explains the Azure Connected Machine agent, onboarding methods, resource hierarchy, policy assignment, extensions, network requirements, service principals, private connectivity, Defender for Servers integration, troubleshooting and the operational checks needed to prove that hybrid servers remain connected and protected.

Azure Arc does not move the server into Azure. It extends Azure management to the server wherever it runs.
Agent Foskett Azure Arc Integration lesson
What you will learn

This lesson shows how Azure Arc connects hybrid servers to Azure management and Defender for Cloud.

Connected Machine agent
Hybrid server onboarding
Policy and extensions
Defender for Cloud integration

Azure Arc architecture

On-premises, hosted or non-Azure server ↓ Azure Connected Machine agent installed ↓ Machine authenticates to Azure ↓ Azure Arc-enabled server resource created ↓ Resource placed in subscription and resource group ↓ Azure Policy, tags and extensions applied ↓ Defender for Cloud assesses configuration and coverage ↓ Recommendations, alerts and inventory become available

Azure Arc onboarding flow

Confirm operating system support ↓ Choose subscription, resource group and region ↓ Select onboarding method ↓ Create service principal or interactive sign-in ↓ Install Azure Connected Machine agent ↓ Connect the machine to Azure ↓ Confirm Connected status ↓ Assign tags and policy ↓ Enable Defender for Servers ↓ Validate extensions, telemetry and recommendations

Azure Arc components

ComponentPurposeOperational check
Connected Machine agentCreates and maintains the connection between the server and Azure.Agent services healthy and heartbeat current.
Azure Arc resourceRepresents the external server inside Azure Resource Manager.Correct subscription, resource group, region and tags.
Azure PolicyAudits or deploys approved configuration and extensions.Assignments apply and remediation tasks succeed.
ExtensionsAdd monitoring, security or management capabilities.Provisioning state is successful and versions are supported.
Defender for CloudAssesses posture and enables workload protection.Plan enabled, recommendations current and telemetry healthy.

Agent Foskett investigation: “The server disappeared from protection…”

A branch-office server had been protected for months ↓ The Azure Arc resource still existed ↓ Its tags and owner details looked correct ↓ But Defender for Cloud recommendations stopped updating ↓ No new vulnerability information appeared ↓ Agent Foskett checked the Arc connection ↓ The machine had been disconnected for 19 days ↓ A proxy change had blocked required service endpoints ↓ The local agent continued running ↓ But it could no longer reach Azure ↓ The portal resource created false confidence ↓ Network access was corrected ↓ The agent reconnected ↓ Extensions recovered ↓ Security telemetry and recommendations resumed ↓ A stale-heartbeat alert was added for all Arc-enabled servers
The resource was still visible in Azure, but the server was no longer connected to Azure.

Key takeaways

  • Azure Arc extends Azure management to supported servers outside Azure.
  • The connected machine remains in its existing physical or cloud location.
  • The Connected Machine agent maintains the Azure control-plane connection.
  • Arc-enabled servers become Azure Resource Manager resources.
  • Azure Policy can audit and deploy approved configuration.
  • Extensions add monitoring and security capabilities.
  • Defender for Cloud can assess and protect connected hybrid servers.
  • A visible Arc resource does not prove that the machine is currently connected.
  • Heartbeat, extension health and telemetry freshness must be monitored.
  • Proxy, firewall, identity and permission changes can silently break coverage.

Learning objectives

After completing this lesson, you should be able to explain how Azure Arc-enabled servers connect hybrid machines to Azure management and Defender for Cloud.

What is Azure Arc?

Azure Arc extends Azure management, governance and selected Azure services to resources running outside Azure.

Azure Arc-enabled servers

Supported physical and virtual Windows or Linux machines can be represented as Azure resources while remaining in their existing location.

What Azure Arc does not do

Azure Arc does not automatically migrate the server, applications or data into Azure. It creates a management relationship.

Azure Resource Manager representation

Each connected machine receives an Azure resource identity inside a selected subscription, resource group and region.

Connected Machine agent

The agent establishes the connection to Azure and manages identity, metadata, extension operations and service communication.

Machine identity

An Arc-enabled server receives a managed identity that supported Azure services and extensions can use without embedded credentials.

Subscription selection

The subscription determines governance scope, access control, policy inheritance and Defender plan configuration.

Resource group placement

Consistent placement by environment, business unit, location or owner simplifies security operations and reporting.

Azure region

The Arc resource metadata is associated with an Azure region; the external server itself does not move there.

Tags and metadata

Tags can record owner, application, environment, criticality, support group, location and data classification.

Supported machines

Azure Arc can connect supported physical servers, private-cloud VMs, hosted servers, branch systems and machines in other clouds.

Operating system support

Support varies by version, architecture and feature. Unsupported systems require upgrade or compensating controls.

Single-server onboarding

An interactive portal-generated script is useful for testing and small environments.

At-scale onboarding

Large environments should use controlled automation, configuration management or software distribution tools.

Service principal onboarding

A least-privilege service principal supports unattended deployment at scale; credentials must be protected and rotated.

Interactive onboarding

Interactive sign-in is convenient for limited deployments but should not become the enterprise default.

Least privilege

Onboarding identities need only the permissions required to create and connect Arc resources at the intended scope.

Network requirements

Outbound access, DNS, proxies, firewalls and TLS inspection must support the Connected Machine agent and required extensions.

Outbound connectivity

Arc generally uses outbound connections rather than requiring unsolicited inbound management ports.

Proxy configuration

Proxy settings must be supported, consistent and tested; a proxy change can disconnect many servers simultaneously.

TLS inspection

Certificate inspection can interfere with Azure service communication and should be validated end to end.

Private connectivity

Private Link designs can reduce public service exposure but require careful DNS, routing and dependency planning.

Connected status

The portal reports connected, disconnected or expired states. This status must be monitored continuously.

Heartbeat freshness

A current heartbeat proves recent communication. Stale heartbeats require operational investigation.

Azure Policy integration

Azure Policy can assess Arc-enabled servers and deploy approved configurations or extensions.

Guest Configuration

Machine configuration can assess selected operating-system settings inside supported servers.

Policy inheritance

Assignments can flow from management groups, subscriptions and resource groups.

Remediation tasks

DeployIfNotExists policies may require remediation tasks for existing machines.

Extension management

Extensions add monitoring, security and management functions and must be versioned and monitored.

Azure Monitor Agent

The Azure Monitor Agent can collect selected logs and metrics through Data Collection Rules.

Defender for Endpoint extension

Supported Defender for Servers deployments can use extension-based Microsoft Defender for Endpoint onboarding.

Extension provisioning state

Failed, updating or transitioning extensions should be investigated for permissions, network access and compatibility.

Defender for Cloud discovery

Arc-enabled servers can appear in Defender for Cloud inventory and posture assessment when scope and plans are correct.

Defender for Servers plan

Arc onboarding alone does not guarantee full workload protection; the appropriate Defender plan must be enabled.

Endpoint protection integration

Defender for Endpoint provides behavioural endpoint detection and response for supported, healthy machines.

Vulnerability assessment

Supported machines can contribute software inventory and vulnerability data; coverage and freshness must be monitored.

Security recommendations

Defender for Cloud can identify missing protection, insecure configuration, outdated systems and exposed services.

Secure score impact

Arc server recommendations can affect security posture and Secure Score depending on active assessments.

Inventory visibility

Hybrid servers can be viewed alongside Azure resources and filtered using tags, location, owner and environment.

Hybrid governance

Azure Arc supports a common governance model without removing local operational responsibilities.

Role-based access control

Azure RBAC controls who can view, modify, tag and manage Arc resources.

Resource locks

Locks reduce accidental deletion of Azure resource objects but do not prevent local removal of the agent.

Local administrator risk

A local administrator can stop services or remove the agent, so endpoint privilege and hardening remain essential.

Agent updates

The Connected Machine agent should remain on a supported version through a tested maintenance process.

Server decommissioning

Decommissioning should remove the Arc connection, extensions and stale Azure resource records.

Duplicate resources

Rebuilds or repeated onboarding can create duplicate resources that distort inventory and coverage reporting.

Resource moves

Moving Arc resources can change policy, permissions, Defender plans and automation.

Disconnected machines

Disconnected status can indicate shutdown, decommissioning, network failure, proxy change or agent removal.

Expired machines

Long-disconnected resources should be investigated and cleaned up rather than ignored.

Azure Activity Log

The Activity Log records control-plane operations such as resource creation, deletion, extension changes and policy assignments.

Local agent logs

Local logs provide evidence for registration, authentication, proxy and connectivity troubleshooting.

Monitoring Arc health

Dashboards should track connection state, last heartbeat, agent version, extension health, policy compliance and Defender coverage.

Validation after onboarding

Do not stop when the resource appears in Azure; validate policy, extensions, recommendations and security telemetry.

Pilot deployment

Use representative operating systems, networks, locations and workloads to document prerequisites and failure patterns.

Production rollout

Scale using approved automation, naming standards, tags, least-privilege identities, monitoring and rollback procedures.

Change management

Proxy, firewall, certificate, operating-system and identity changes should include Arc impact assessment.

Security operations integration

Defender for Cloud alerts involving Arc servers can feed Defender XDR or Microsoft Sentinel workflows where configured.

Operational lesson

Hybrid protection depends on the server, agent, network, identity, Arc resource, policy, extensions and Defender services all remaining healthy.

Common onboarding failures

  • Unsupported operating system
  • Incorrect service-principal permissions
  • Expired credentials
  • Proxy authentication failure
  • Blocked service endpoints
  • DNS resolution failure
  • TLS inspection interference
  • Duplicate machine identity
  • Local security software blocking installation

Common extension failures

  • Package download blocked
  • Unsupported operating system version
  • Insufficient local permissions
  • Conflicting security product
  • Reboot pending
  • Corrupt previous installation
  • Extension handler out of date

Arc coverage checklist

  • Server owner recorded
  • Criticality classified
  • Supported operating system
  • Correct subscription and resource group
  • Connected status healthy
  • Heartbeat current
  • Agent version supported
  • Required extensions successful
  • Policy assignments compliant
  • Defender plan enabled
  • Endpoint telemetry current
  • Vulnerability data current

What Agent Foskett checked

  • Arc resource connection status
  • Last heartbeat
  • Connected Machine agent services
  • Proxy and DNS configuration
  • Required service endpoints
  • Agent version
  • Extension provisioning state
  • Defender plan assignment
  • Endpoint sensor health
  • Recommendation freshness
  • Other machines behind the same proxy

Best practices

  • Use automated onboarding at scale.
  • Apply consistent naming and tags.
  • Use least-privilege service principals.
  • Monitor stale heartbeats.
  • Track disconnected and expired machines.
  • Keep agents and extensions supported.
  • Use policy for standard deployment.
  • Validate Defender telemetry after onboarding.
  • Document proxy and endpoint dependencies.
  • Remove stale resources during decommissioning.

Continue learning

Continue Module 1 by connecting AWS and Google Cloud environments to Microsoft Defender for Cloud.

What is Azure Arc Integration?

Azure Arc integration allows supported Windows and Linux servers outside Azure to appear as Azure resources for inventory, policy, extension management, security posture and Microsoft Defender for Cloud protection.

Azure Arc Integration Lesson

This Agent Foskett lesson explains Azure Arc-enabled servers, the Azure Connected Machine agent, hybrid onboarding, service principals, network requirements, Azure Policy, extensions, Defender for Servers integration, connection health and troubleshooting.