Azure Arc Tag Compliance

Automated Governance Validation with Microsoft Sentinel Integration

📖 15 min read
🎯 Intermediate
🔧 Governance Solution
💡 Azure Arc + Sentinel + Resource Graph

Introduction

When Arc servers get onboarded, you control what tags are applied during the provisioning command. But operational details like maintenance windows, backup schedules, or environment classifications might not be known yet - and those missing tags may never get added later. A server without a maintenance window tag doesn't get patched. Missing backup schedule tags mean no backups. Forgot the environment tag? Your automation doesn't know if it's production or development.

This automated tag validation solution discovers which Arc servers are missing required operational tags and creates Microsoft Sentinel incidents so your team can fix them before operations break.

Microsoft Sentinel incident created by Azure Arc tag validation showing 6 Windows servers missing required operational tags

Microsoft Sentinel incident showing 6 Arc servers with missing operational tags like maintenance windows, environment, and cost center

Solution Overview

This Azure Arc tag validation solution uses Azure Resource Graph to discover all Arc-enabled Windows servers, validates them against your required tag list, and creates a single Microsoft Sentinel incident summarizing missing tags.

Technology Integration

  • Azure Automation - PowerShell runbook with managed identity authentication
  • Azure Resource Graph - Fast cross-subscription Arc server discovery
  • Microsoft Sentinel - Centralized incident management for missing tags
  • Azure RBAC - Secure permissions for Arc server discovery and Sentinel integration

The solution runs on a schedule, discovers all Azure Arc Windows servers across your tenant, validates required tags, and creates detailed reports directly in your security operations workflow.

Architecture & Automation Flow

The tag validation follows a four-step automated process:

  1. Discovery Phase - Azure Resource Graph queries all Arc Windows servers with pagination support
  2. Validation Phase - Each server evaluated against configurable required tag list
  3. Incident Creation - Single Sentinel incident created with summary information
  4. Detailed Reporting - HTML table added as incident comment with missing tag details
Automation Components: Azure Automation runbook, Resource Graph queries, Sentinel API integration, managed identity authentication, and configurable tag validation rules.

Key Features

🔍 Arc Server Discovery

Automatically discovers all Azure Arc-enabled Windows servers across subscriptions using Azure Resource Graph with pagination support for large environments.

✅ Tag Validation

Validates presence and non-empty values of configurable required tags, with detailed reporting of missing or empty tag values.

🚨 Centralized Incident Management

Creates single Microsoft Sentinel incident per validation scan with detailed HTML summary and actionable remediation guidance.

🤖 Automation Integration

PowerShell runbook execution with system-assigned managed identity, scheduled runs, and integration with existing automation workflows.

Technical Requirements

Azure Infrastructure

  • Azure Automation Account with managed identity enabled
  • Azure Arc-enabled Windows servers to monitor
  • Microsoft Sentinel workspace for incident management
  • PowerShell 7 runtime environment in Automation Account

What You Get

Complete solution package ready for deployment in your environment:

  • PowerShell automation script for Arc server discovery and validation
  • Azure Automation runbook with scheduled execution
  • Microsoft Sentinel integration for incident management
  • Step-by-step deployment guide with screenshots

Complete Implementation Guide

The full Azure Arc tag compliance solution includes:

  • Complete Azure Automation Account setup with managed identity
  • Custom RBAC role definitions and permission assignments
  • PowerShell runbook script with configurable tag validation
  • Microsoft Sentinel workspace integration configuration
  • Automation variables setup and scheduling configuration
  • PowerShell debugging steps and common error fixes
  • HTML incident reporting templates and customization options
Member Resources: Access the complete implementation guide, PowerShell automation scripts, RBAC role definitions, and ongoing support through the member portal.

About the Author

Kaido Järvemets - Microsoft MVP

Kaido Järvemets

Microsoft MVP | Microsoft Hybrid-Cloud Security Expert

With over 15 years of experience in IT, cybersecurity, and Microsoft technologies, Kaido specializes in Microsoft Azure, Microsoft 365, and hybrid-cloud security solutions. As a Microsoft MVP since 2010, he has deep expertise in Configuration Manager, Enterprise Mobility, and Azure Hybrid & Security.

Kaido is a Microsoft Certified Trainer who has been traveling across Europe for the past 12 years, speaking at events including the Microsoft Management Summit and Midwest Management Summit. He founded User Group Estonia and System Center User Group Estonia, building strong communities of Microsoft technology professionals.

🎯 Specializations

Microsoft Security:
  • Microsoft Defender XDR
  • Microsoft Sentinel SIEM & SOAR
  • Microsoft Entra ID (Azure AD)
  • Microsoft Intune
Azure & Hybrid Cloud:
  • Azure Arc Services
  • Azure Log Analytics
  • Azure Automation
  • Hybrid Cloud Management

"I simplify the process and make each change meaningful. It's all about adopting modern solutions that replace archaic ones and make the workplace easier for everyone involved."