This repository gathers a set of tools to work with your Azure Arc Environment
-
ARM templates to update Azure Arc Connected Machine agents on Windows servers using Custom Script Extension, supporting both standard and proxy-enabled environments.
UpdateArcAgentFromTemplateMultipleWindowsnew.json- ARM template to update Azure Arc agents on multiple Windows servers using Custom Script Extension to upgrade the AzureConnectedMachineAgent.msiUpdateArcAgentFromTemplateMultipleWindowsWithProxy.json- ARM template for proxy-enabled environments to update Azure Arc agents on Windows servers through proxy configuration -
Tools to configure proxy settings for Azure Monitor Agent (AMA) on Azure Arc servers, including Azure Policy definitions for automated deployment and PowerShell scripts for manual configuration.
AMAAgentAzureArcProxyPolicyWindows.json- Azure Policy definition to configure proxy settings for Azure Monitor Agent (AMA) on Windows Azure Arc serversAMAAgentAzureArcProxyPolicyLinux.json- Azure Policy definition to configure proxy settings for Azure Monitor Agent (AMA) on Linux Azure Arc serversSetProxyAMAAgent.ps1- PowerShell script for manual configuration of proxy settings for Azure Monitor Agent on Arc servers -
Scripts and queries to enable and manage Azure Arc server management capabilities, including workspace reclassification analysis.
EnableServerManagement.ps1- PowerShell script to enable Azure Arc server management features and capabilitiesWSReclass.kql- Kusto Query Language (KQL) query for workspace reclassification analysisReadme.md- Documentation for the server management enablement process -
Tools to enable and configure SQL Server Best Practices Assessment for Azure Arc-enabled SQL Servers using custom Data Collection Rules.
BPAConfigure Arc-enabled Servers with SQL Server extension installed to enable or disable SQL best practices assessment. Custom DCR.json- Azure Policy template to configure SQL Server Best Practices Assessment with custom Data Collection RulesBPAEnableAzureArc.ps1- PowerShell script to enable SQL Server Best Practices Assessment for Azure Arc-enabled SQL Servers -
Comprehensive toolkit for managing and reclassifying SQL Server licenses on Azure Arc-enabled servers, including reporting, bulk assignment, and automated tag inheritance.
Get-SQLAzureArcReclassReport.ps1- PowerShell script to generate reports on SQL Server license classification for Azure Arc-enabled serversSetLicensestoExistingServersReclass.ps1- PowerShell script for bulk license assignment and reclassification of SQL Server licenses on Arc serversInherit a tag from the resource group if missing - Azure Arc Servers.json- Azure Policy to automatically inherit tags from resource groups to Arc servers when tags are missing -
Maintenance scripts to clean up and remove orphaned Azure Arc SQL Server resources that no longer have active machine connections.
RemoveOrphanedAzureArcSQLServers.ps1- PowerShell script to identify and remove orphaned Azure Arc SQL Server resources that no longer have corresponding machine resources -
Utility script to properly uninstall and clean up Azure Arc agent installations from servers.
CleanUpArcAgent.ps1- PowerShell script to properly uninstall and clean up Azure Arc agent installations from servers -
Complete toolset for managing Extended Security Update (ESU) licenses for Azure Arc servers, including initial setup, modification, validation, and bulk operations via CSV files.
ESUsSetLicenses.ps1- PowerShell script for initial setup and configuration of Extended Security Update (ESU) licenses for Azure Arc serversESUsModifyLicenses.ps1- PowerShell script to modify and update existing ESU license configurationsESUsChecklicenses.ps1- PowerShell script to validate and check the status of ESU licenses assigned to Arc serversESULicensesSourcefilesample.csv- Sample CSV template file for bulk ESU license management operationsREADME.md- Documentation for ESU license management tools and processes -
Comprehensive suite of scripts for managing Azure Arc extensions, including installation, updates, removal of failed extensions, inventory reporting, and configuration management.
Install-AzureArcExtensions.ps1- PowerShell script to install Azure Arc extensions on connected machinesUpdate-AzureArcExtensions.ps1- PowerShell script to update existing Azure Arc extensions to newer versionsRemove-FailedExtensions.ps1- PowerShell script to clean up and remove failed extension installationsGet-ExtensionsVersionsReport.ps1- PowerShell script to generate inventory reports of installed extensions and their versionsExtensionSettings.psd1- PowerShell data configuration file containing extension settings and parameters -
Migration toolkit to transition servers from Microsoft Monitoring Agent (MMA) to Azure Monitor Agent (AMA), including bulk migration scripts and cleanup utilities.
MigrateMachinesMMAtoAMA.ps1- PowerShell script for bulk migration from Microsoft Monitoring Agent (MMA) to Azure Monitor Agent (AMA)CustomScriptRemoveLogAnalitycsWorkspace.ps1- PowerShell script to remove Log Analytics workspace connections during migration cleanupServerList.txt- Text file template containing the list of servers for migration operations -
Azure Automation runbooks for automated management and maintenance of Azure Arc-enabled servers.
RemoveExpiredAzureArcServers.ps1- PowerShell runbook to automatically identify and remove expired Azure Arc-enabled servers tagged for decommissioning using managed identity authenticationREADME.md- Complete setup guide for creating automation accounts, configuring runtime environments, and deploying the runbook -
Azure Monitor workbook templates for visualizing and monitoring Azure Arc resources and their configurations.
ChangeTrackingWorkbook.json- Azure Monitor workbook JSON template for visualizing and monitoring configuration changes across Azure Arc resources