Repository: Azure/arc_jumpstart_drops
Pull request #307: ArcEndpointCheck and AzureArcSQLTags-Inheritance to canary selected f…
Author: login: fabiotreze
Created: 2025-04-03T22:18:15Z | Merged: 2025-04-07T17:52:49Z


[AzureArcSQLTags-Inheritance.json](https://github.com/user-attachments/files/19595493/AzureArcSQLTags-Inheritance.json)
[ArcEndpointCheck.json](https://github.com/user-attachments/files/19595495/ArcEndpointCheck.json)



Diff:
diff --git a/drops/ArcEndpointCheck.json b/drops/ArcEndpointCheck.json
new file mode 100644
index 00000000..6acaa502
--- /dev/null
+++ b/drops/ArcEndpointCheck.json
@@ -0,0 +1,25 @@
+{
+  "Title": "Azure Arc Connectivity Check",
+  "Summary": "This Jumpstart Drop provides a script that validates the connectivity and status of Azure endpoints, ensuring proper Azure Arc functionality.",
+  "Description": "This Drop includes a PowerShell script to test connectivity and DNS resolution for Azure Arc endpoints. It checks static/dynamic endpoints, validates azcmagent.exe execution, and generates a log to diagnose connectivity issues in hybrid environments.",
+  "Cover": "",
+  "Authors": [
+    {
+      "Name": "Fabio R V Costa",
+      "Link": "https://www.linkedin.com/in/fabiotreze/"
+    }
+  ],
+  "Source": "https://github.com/Azure/arc_jumpstart_drops/tree/main/script_automation/ArcEndpointCheck",
+  "Type": "script_automation",
+  "Difficulty": "Medium",
+  "ProgrammingLanguage": [
+    "PowerShell"
+  ],
+  "Products": [
+    "Azure Arc",
+    "Arc-Enabled Servers"
+  ],
+  "LastModified": "2025-03-29T01:58:27.000Z",
+  "CreatedDate": "2025-03-29T01:58:27.000Z",
+  "Topics": []
+}
\ No newline at end of file
diff --git a/drops/AzureArcSQLTags-Inheritance.json b/drops/AzureArcSQLTags-Inheritance.json
new file mode 100644
index 00000000..ddd4093b
--- /dev/null
+++ b/drops/AzureArcSQLTags-Inheritance.json
@@ -0,0 +1,26 @@
+{
+  "Title": "Azure Arc SQL Tags Inheritance",
+  "Summary": "This Jumpstart Drop provides a script that validates tag inheritance from Azure Arc VMs to SQL Instances, ensuring consistency and better resource management.",
+  "Description": "Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.",
+  "Cover": "",
+  "Authors": [
+    {
+      "Name": "Fabio R V Costa",
+      "Link": "https://www.linkedin.com/in/fabiotreze/"
+    }
+  ],
+  "Source": "https://github.com/Azure/arc_jumpstart_drops/tree/main/script_automation/AzureArcSQLTags-Inheritance",
+  "Type": "script_automation",
+  "Difficulty": "Medium",
+  "ProgrammingLanguage": [
+    "PowerShell"
+  ],
+  "Products": [
+    "Azure Arc",
+    "Arc-Enabled Servers",
+    "SQL Server"
+  ],
+  "LastModified": "2025-03-28T12:00:00.000Z",
+  "CreatedDate": "2025-03-28T12:00:00.000Z",
+  "Topics": []
+}
\ No newline at end of file
diff --git a/script_automation/ArcEndpointCheck/ArcEndpointCheck.png b/script_automation/ArcEndpointCheck/ArcEndpointCheck.png
new file mode 100644
index 00000000..0e1b0aeb
Binary files /dev/null and b/script_automation/ArcEndpointCheck/ArcEndpointCheck.png differ
diff --git a/script_automation/ArcEndpointCheck/ArcEndpointCheck.ps1 b/script_automation/ArcEndpointCheck/ArcEndpointCheck.ps1
new file mode 100644
index 00000000..d5895ff4
--- /dev/null
+++ b/script_automation/ArcEndpointCheck/ArcEndpointCheck.ps1
@@ -0,0 +1,173 @@
+# Purpose: This script checks the connectivity and status of Azure endpoints, including both static and dynamic endpoints, 
+# and validates Azure Arc functionality. It performs DNS resolution, network connectivity, and HTTP request tests, 
+# logging the results for review.
+
+# Disclaimer: This script is intended for use in environments where connectivity to Azure endpoints and Azure Arc services 
+# needs to be validated. It relies on internet access to fetch dynamic endpoints and assumes the presence of `azcmagent.exe` 
+# for Azure Arc checks. Results are logged to a specified file, and proper access control on logs is advised.
+
+# Define the region
+$region = "brazilsouth"
+
+# Define the log file path
+$logFilePath = "C:\temp\Arclogfile.txt"
+
+# Ensure log file exists before clearing
+if (-Not (Test-Path $logFilePath)) {
+    New-Item -ItemType File -Path $logFilePath -Force | Out-Null
+} else {
+    Clear-Content -Path $logFilePath -ErrorAction SilentlyContinue
+}
+
+# Write start of the log
+"Script started at $(Get-Date)" | Out-File -FilePath $logFilePath -Append
+
+# Define the list of static endpoints
+$staticEndpoints = @(
+    "login.windows.net", "login.microsoftonline.com", "pas.windows.net", # AAD
+    "management.azure.com", # ARM
+    "global.handler.control.monitor.azure.com", # AMA
+    "gbl.his.arc.azure.com", "agentserviceapi.guestconfiguration.azure.com", # Arc
+    "dataprocessingservice.$region.arcdataservices.com", "telemetry.$region.arcdataservices.com" # ArcData and Telemetry
+)
+
+# Fetch dynamic endpoints for the specified region
+try {
+    $logMessage = "Running: Invoke-WebRequest -Uri 'https://guestnotificationservice.azure.com/urls/allowlist?api-version=2020-01-01&location=$region'"
+    $logMessage | Out-File -FilePath $logFilePath -Append
+
+    $response = Invoke-WebRequest -Uri "https://guestnotificationservice.azure.com/urls/allowlist?api-version=2020-01-01&location=$region" -ErrorAction Stop
+    $dynamicEndpoints = ($response.Content -replace '\[|\]|"|\\n','').Split(',')
+    "Dynamic endpoints fetched: $($dynamicEndpoints -join ', ')" | Out-File -FilePath $logFilePath -Append
+} catch {
+    "Error fetching dynamic endpoints: $_" | Out-File -FilePath $logFilePath -Append
+    $dynamicEndpoints = @()
+}
+
+# Combine static and dynamic endpoints
+$allEndpoints = $staticEndpoints + $dynamicEndpoints
+
+# List of allowed endpoints for HTTP request
+$allowedEndpoints = @(
+    "login.windows.net",
+    "login.microsoftonline.com",
+    "dataprocessingservice.$region.arcdataservices.com",
+    "telemetry.$region.arcdataservices.com"
+)
+
+# Filter the dynamic endpoints to match the allowed list
+$filteredDynamicEndpoints = $allowedEndpoints
+
+# Combine static endpoints with the filtered dynamic endpoints for HTTP requests
+$finalEndpointsForRequest = $filteredDynamicEndpoints
+
+# Iterate over all endpoints to test connectivity, DNS resolution, and HTTP response for the filtered dynamic endpoints
+foreach ($endpoint in $allEndpoints) {
+    $trimmedEndpoint = $endpoint.Trim()
+
+    # DNS resolution test
+    $dnsLogMessage = "Testing DNS resolution for: $($trimmedEndpoint)"
+    $dnsLogMessage | Out-File -FilePath $logFilePath -Append
+
+    try {
+        $logMessage = "Running: Resolve-DnsName -Name $($trimmedEndpoint)"
+        $logMessage | Out-File -FilePath $logFilePath -Append
+        
+        $dnsResult = Resolve-DnsName -Name $trimmedEndpoint -ErrorAction Stop
+        $dnsOutput = "Success: DNS resolution succeeded for $($trimmedEndpoint): $($dnsResult.Name)"
+        Write-Host $dnsOutput -ForegroundColor Green
+        $dnsOutput | Out-File -FilePath $logFilePath -Append
+    } catch {
+        $dnsError = "Error: DNS resolution failed for $($trimmedEndpoint) - $_"
+        Write-Host $dnsError -ForegroundColor Red
+        $dnsError | Out-File -FilePath $logFilePath -Append
+    }
+
+    # Connectivity test
+    $connectivityLogMessage = "Testing connectivity for: $($trimmedEndpoint)"
+    $connectivityLogMessage | Out-File -FilePath $logFilePath -Append
+
+    try {
+        $logMessage = "Running: Test-Connection -ComputerName $($trimmedEndpoint) -Count 1"
+        $logMessage | Out-File -FilePath $logFilePath -Append
+        
+        $pingResult = Test-Connection -ComputerName $trimmedEndpoint -Count 1 -ErrorAction Stop
+        $pingOutput = "Success: Connectivity succeeded for $($trimmedEndpoint): Response time: $($pingResult.ResponseTime)ms"
+        Write-Host $pingOutput -ForegroundColor Green
+        $pingOutput | Out-File -FilePath $logFilePath -Append
+    } catch {
+        $pingError = "Error: Connectivity test failed for $($trimmedEndpoint) - $_"
+        Write-Host $pingError -ForegroundColor Red
+        $pingError | Out-File -FilePath $logFilePath -Append
+    }
+
+    "----------------------------------------" | Out-File -FilePath $logFilePath -Append
+}
+
+# HTTP request test (only for filtered dynamic endpoints)
+foreach ($endpoint in $finalEndpointsForRequest) {
+    $trimmedEndpoint = $endpoint.Trim()
+
+    # HTTP request test
+    $httpLogMessage = "Testing HTTP request for: $($trimmedEndpoint)"
+    $httpLogMessage | Out-File -FilePath $logFilePath -Append
+
+    try {
+        # Measure response time and check for 401
+        $response_time = Measure-Command { 
+            $response = Invoke-WebRequest -Uri "https://$trimmedEndpoint" -Method Get
+        }
+
+        if ($response.StatusCode -eq 401) {
+            # If status code is 401, treat it as expected and log it as such
+            $httpResult = "Expected (401)"
+            $httpOutput = "Success: HTTP request succeeded for $($trimmedEndpoint): $($httpResult) - Response time: $($response_time.TotalSeconds) seconds"
+            Write-Host $httpOutput -ForegroundColor Green
+            $httpOutput | Out-File -FilePath $logFilePath -Append
+        } else {
+            # For other status codes, log the actual status code
+            $httpResult = "Unexpected Status: $($response.StatusCode)"
+            $httpOutput = "Success: HTTP request succeeded for $($trimmedEndpoint): $($httpResult) - Response time: $($response_time.TotalSeconds) seconds"
+            Write-Host $httpOutput -ForegroundColor Green
+            $httpOutput | Out-File -FilePath $logFilePath -Append
+        }
+    } catch {
+        # Handle exceptions and log them
+        if ($_.Exception.Message -like "*401*") {
+            # If 401 is encountered in the exception message, treat it as expected
+            $httpResult = "Expected (401)"
+            $httpError = "Success: HTTP request succeeded for $($trimmedEndpoint) - $httpResult"
+            Write-Host $httpError -ForegroundColor Green
+            $httpError | Out-File -FilePath $logFilePath -Append
+        } else {
+            # For other exceptions, log the error message
+            $httpResult = "Error: $_"
+            $httpError = "Error: HTTP request failed for $($trimmedEndpoint) - $httpResult"
+            Write-Host $httpError -ForegroundColor Red
+            $httpError | Out-File -FilePath $logFilePath -Append
+        }
+    }
+
+    "----------------------------------------" | Out-File -FilePath $logFilePath -Append
+}
+
+# Public and Private Azure Arc check
+$publicAzureArcMessage = "Running public Azure Arc check..."
+$publicAzureArcMessage | Out-File -FilePath $logFilePath -Append
+
+# Check if azcmagent.exe exists in the default path
+$azcmagentPath = Join-Path $env:PROGRAMFILES "AzureConnectedMachineAgent\azcmagent.exe"
+if (Test-Path $azcmagentPath) {
+    $logMessage = "Running: & $azcmagentPath check --location $($region) --cloud AzureCloud --extensions sql --enable-pls-check"
+    $logMessage | Out-File -FilePath $logFilePath -Append
+    
+    # Execute azcmagent from the correct path
+    $azcmAgentResult = & $azcmagentPath check --location $($region) --cloud AzureCloud --extensions sql --enable-pls-check
+    $azcmAgentResult | Out-File -FilePath $logFilePath -Append
+} else {
+    $errorMessage = "Error: azcmagent.exe not found in $azcmagentPath"
+    $errorMessage | Out-File -FilePath $logFilePath -Append
+}
+
+# Write end of the log
+"Script finished at $(Get-Date)" | Out-File -FilePath $logFilePath -Append
diff --git a/script_automation/ArcEndpointCheck/_index.md b/script_automation/ArcEndpointCheck/_index.md
new file mode 100644
index 00000000..2da93f90
--- /dev/null
+++ b/script_automation/ArcEndpointCheck/_index.md
@@ -0,0 +1,40 @@
+---
+type: docs
+title: "Azure Arc Connectivity Check"
+linkTitle: "Azure Arc Connectivity Check"
+weight: 1
+description: >
+---
+
+## Overview  
+
+This script was created to help identify connectivity issues with the Azure Arc Machine Agent and its endpoints. It tests the necessary URLs, validates Azure Arc functionality, and performs DNS resolution, network connectivity, and HTTP request checks, logging the results for review.
+
+## Prerequisites
+
+- PowerShell
+- Network connectivity 
+
+## Getting Started
+
+Download the [ArcEndpointCheck.ps1](./ArcEndpointCheck.ps1) and follow these steps to set up and use the script:
+
+1. **Define the Region**  
+   Set the region for your Azure Arc deployment. For example:  
+   `$region = "brazilsouth"`
+
+2. **Define the Log File Path**  
+   Specify the location where the log file will be saved. For example:  
+   `$logFilePath = "C:\temp\Arclogfile.txt"`
+
+3. **Choose Public or Private Deployment**  
+   Determine whether your Azure Arc instance will be public or private.  
+   If you're using a public deployment, make sure to remove the `--enable-pls-check` parameter from the script.
+
+## Using the Script
+
+Execute the script on the server where the Azure Arc Agent will be installed. When running the script, keep in mind environmental factors such as firewall settings, proxy configuration, region, and whether the connection is public or private. Make the necessary adjustments in the script to account for these aspects. The script includes a check with `AzcmAgent.exe`, so ensure that the Azure Arc Agent is already installed on the server before running it.
+
+## Contributions
+
+Contributions are welcome! Feel free to open an _issue_ or submit a _pull request_ to improve this repository.
\ No newline at end of file
diff --git a/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.png b/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.png
new file mode 100644
index 00000000..07e2f2b8
Binary files /dev/null and b/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.png differ
diff --git a/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1 b/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1
new file mode 100644
index 00000000..a9149a3b
--- /dev/null
+++ b/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1
@@ -0,0 +1,121 @@
+```powershell
+<#
+.SYNOPSIS
+This script checks and updates tags for Azure Arc SQL Server instances based on the tags of associated hybrid machines.
+
+.DESCRIPTION
+The script connects to Azure using a user-assigned managed identity and retrieves Azure Arc SQL Server instances and their associated hybrid machines. It compares the tags of the hybrid machines with the tags of the SQL Server instances and determines the compliance status. If any non-compliant instances are found, it updates the tags of the SQL Server instances to match the tags of the hybrid machines.
+
+.PARAMETER ResourceGroupName
+The name of the resource group containing the Azure Arc SQL Server instances.
+
+.PARAMETER SubscriptionID
+The ID of the subscription containing the Azure Arc SQL Server instances.
+
+.PARAMETER tagName
+The name of the tag to compare and update.
+
+.EXAMPLE
+.\AzureArcSQLTags-Inheritance.ps1 -ResourceGroupName "myResourceGroup" -SubscriptionID "12345678-1234-1234-1234-1234567890ab" -tagName "centro_de_custo"
+
+.NOTES
+- This script requires the Az.Accounts and Az.ResourceGraph modules to be installed.
+- The script requires a user-assigned managed identity with appropriate permissions to connect to Azure and update tags.
+- The script uses the Azure Resource Graph to query and retrieve the Azure Arc SQL Server instances and their associated hybrid machines.
+- The script updates the tags of the SQL Server instances using the Update-AzTag cmdlet.
+- The compliance status is determined based on the comparison of tags between the hybrid machines and SQL Server instances.
+- Non-compliant instances are identified and their tags are updated to match the tags of the associated hybrid machines.
+#>
+
+# Define the parameters to be required at runtime
+param (
+    [Parameter(Mandatory=$true)]
+    [string]$ResourceGroupName,  # Resource Group Name
+
+    [Parameter(Mandatory=$true)]
+    [string]$SubscriptionID,  # Subscription ID
+
+    [Parameter(Mandatory=$true)]
+    [string]$tagName  # Example centro_de_custo Tag Name
+)
+
+# Ensures you do not inherit an AzContext in your runbook
+Disable-AzContextAutosave -Scope Process | Out-Null
+
+try {
+    # Connect to Azure with user-assigned managed identity
+    $AzureContext = (Connect-AzAccount -Identity -AccountId REPLACE_WITH_YOUR_ID).context
+    
+    # Set and store context with the specified subscription
+    $AzureContext = Set-AzContext -SubscriptionName $SubscriptionID -DefaultProfile $AzureContext
+}
+catch {
+    Write-Error -Message $_.Exception
+    throw $_.Exception
+}
+
+# Executes the query and stores the result in the variable $result
+$query = @"
+resources
+| where type =~ 'Microsoft.AzureArcData/SqlServerInstances'
+| where resourceGroup == '$ResourceGroupName' // Filter by Resource Group
+| extend subscriptionId = subscriptionId, 
+         arcInstanceContainerId = tostring(split(properties['containerResourceId'], '/')[8])  // Capture containerResourceId of Arc resource
+| join kind=inner (
+    resources
+    | where type =~ 'Microsoft.HybridCompute/machines'
+    | extend hybridMachineName = name,  // Capture the hybrid machine name
+             hybridMachineTag = coalesce(tags['$tagName'], '') // Capture the tag of the hybrid machine, handling nulls
+) on `$left.arcInstanceContainerId == `$right.hybridMachineName and `$left.subscriptionId == `$right.subscriptionId
+| extend sqlInstanceTag = coalesce(tags['$tagName'], '') // Capture the tag of the SQL Instance, handling nulls
+| extend tagsDiffer = sqlInstanceTag != hybridMachineTag // Add a field to indicate if the tags differ
+| extend complianceStatus = case(
+    isnull(sqlInstanceTag) or isnull(hybridMachineTag), 'Nao Conformidade',  // If any tag is null, it's non-compliant
+    tagsDiffer, 'Nao Conformidade',  // If the tags differ, it's non-compliant
+    'Em Conformidade'  // Otherwise, it's compliant
+)
+| project 
+    ['Azure Arc VM Source Name'] = hybridMachineName,  // Hybrid machine name
+    ['Azure Arc VM Source Name Tag'] = hybridMachineTag, // Azure Arc VM Source Name Tag
+    ['SQL Instance ID'] = id, // SQL Instance ID
+    ['SQL Instance'] = name,  // SQL Server and SQL Instance name
+    ['SQL Instance Tag'] = sqlInstanceTag, // SQL Instance Tag
+    ['Azure Arc VM Source Name by SQL Instance'] = arcInstanceContainerId,  // Container ID associated with the Arc resource
+    ['Tags Differ'] = tagsDiffer,  // Add a field to indicate if the tags differ
+    ['Compliance Status'] = complianceStatus  // Add a field to indicate the compliance status
+"@
+
+# Execute the query
+$result = Search-AzGraph -Query $query
+    
+# Project the desired columns
+$projectedResult = $result | Select-Object 'Azure Arc VM Source Name', 'Azure Arc VM Source Name Tag', 'SQL Instance ID', 'SQL Instance', 'SQL Instance Tag', 'Azure Arc VM Source Name by SQL Instance', 'Tags Differ', 'Compliance Status'
+
+# Filter the projected result based on Compliance Status
+$filteredResult = $projectedResult | Where-Object { $_.'Compliance Status' -eq 'Nao Conformidade' }
+
+Write-Output "Recursos em Nao Conformidade"
+$filteredResult
+
+# Check if the filtered result is empty
+if ($filteredResult.Count -eq 0) {
+    Write-Output "No results found in the query."
+}
+else {
+    # Loop through resources to add tags
+    foreach ($resource in $filteredResult) {
+        $id = $resource.'SQL Instance ID'
+        $arcVMName = $resource.'Azure Arc VM Source Name'
+        
+        # Use the parameter $tagName to create the tag
+        $tag = @{
+            $tagName = $resource.'Azure Arc VM Source Name Tag' # Use the tag value from the parameter
+        }
+        # Apply the tag to the SQL instance
+        Update-AzTag -Tag $tag -ResourceId $id -Operation Merge -Verbose
+        
+        # Output the modified resource information
+        Write-Output "Resource modified: SQL Instance ID: $id, Tag: $tagName = $tag.$tagName"
+    }
+}
+```
diff --git a/script_automation/AzureArcSQLTags-Inheritance/_index.md b/script_automation/AzureArcSQLTags-Inheritance/_index.md
new file mode 100644
index 00000000..d36894ce
--- /dev/null
+++ b/script_automation/AzureArcSQLTags-Inheritance/_index.md
@@ -0,0 +1,49 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+[AzureArcSQLTags-Inheritance.ps1](./AzureArcSQLTags-Inheritance.ps1).
+
+### Prerequisites
+
+### Automation Account
+- The **Az.Account** and **Az.ResourceGraph** modules must be installed for the script to work correctly.  
+- A **managed identity** must be configured for the Automation Account, enabling secure access to the required resources in Azure.  
+
+### Runbook
+- A **schedule** for the **runbook** must be configured, ensuring the script runs automatically at predefined intervals.  
+
+### Parameters
+
+The script requires the following parameters:
+
+- `ResourceGroupName`: The name of the resource group where the Azure Arc SQL Instance and the associated VM are located.  
+- `SubscriptionID`: The ID of the Azure subscription where the resources are registered.  
+- `tagName`: The name of the tag to be applied to the Azure Arc SQL Instance, based on the tags configured on the associated VM.  
+
+### What Does This Solve?
+These parameters ensure that the tags are properly synchronized between the Azure Arc resources and their related VMs, promoting more efficient and organized resource management. 
+
+### Note
+Make sure your Automation Account and Azure resources are correctly configured before running the script.
+
+## Contributions
+
+Contributions are welcome! Feel free to open an _issue_ or submit a _pull request_ to improve this repository.


Reviews:
user: login: kianaharris4
body: We will need 2 .JSONs with your details filled out for each drop.  The JSON will have the follow this format: (https://github.com/Azure/arc_jumpstart_drops/blob/main/SCHEMA.md).  Once completed, this file would be placed under the `drops` directory.
state: CHANGES_REQUESTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-04T15:55:34Z
user: login: kianaharris4
state: CHANGES_REQUESTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-04T18:05:18Z
user: login: fabiotreze
body: Items reviewed and validated. Changes submitted via pull request
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-04T18:59:27Z
user: login: kianaharris4
state: CHANGES_REQUESTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-04T19:17:47Z
user: login: fabiotreze
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-04T20:03:00Z
user: login: kianaharris4
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-04-07T17:50:14Z

Review comments:
diff_hunk: @@ -0,0 +1,49 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+[AzureArcSQLTags-Inheritance.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1).
+
+### Prerequisites
+
+### Automation Account
+- The **Az.Account** and **Az.ResourceGraph** modules must be installed for the script to work correctly.  
+- A **managed identity** must be configured for the Automation Account, enabling secure access to the required resources in Azure.  
+
+### Runbook
+- A **schedule** for the **runbook** must be configured, ensuring the script runs automatically at predefined intervals.  
+
+### Parameters
+
+The script requires the following parameters:
+
+- **ResourceGroupName**: The name of the resource group where the Azure Arc SQL Instance and the associated VM are located.  
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: I recommend putting these as in line code blocks so:

`ResourceGroupName`: The name ....
`SubscriptionID`: The ID....
`tagname`: The name...
created_at: 2025-04-04T15:50:58Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,49 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+[AzureArcSQLTags-Inheritance.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1).
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: I think ./AzureArcSQLTags-Inheritance would work better, right? Since that file is located in this same folder?
created_at: 2025-04-04T15:51:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,40 @@
+---
+type: docs
+title: "Azure Arc Connectivity Check"
+linkTitle: "Azure Arc Connectivity Check"
+weight: 1
+description: >
+---
+
+## Overview  
+
+This script was created to help identify connectivity issues with the Azure Arc Machine Agent and its endpoints. It tests the necessary URLs, validates Azure Arc functionality, and performs DNS resolution, network connectivity, and HTTP request checks, logging the results for review.
+
+## Prerequisites
+
+- PowerShell
+- Network connectivity
+
+## Getting Started
+
+Download the [ArcEndpointCheck.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/ArcEndpointCheck/ArcEndpointCheck.ps1) and follow these steps to set up and use the script:
path: script_automation/ArcEndpointCheck/_index.md
user: login: kianaharris4
body: I think you could just reference this file in this folder using ./ as opposed to the link you have provided there.
created_at: 2025-04-04T15:53:07Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,49 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This **drop** contains the ...
created_at: 2025-04-04T15:54:16Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This one looks great! You can probably resolve the merge conflict below
created_at: 2025-04-04T17:51:06Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
+[AzureArcSQLTags-Inheritance.ps1](./AzureArcSQLTags-Inheritance.ps1).
+=======
+[AzureArcSQLTags-Inheritance.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1).
+>>>>>>> b4bf0a831f11a6c37679ade45fa40019cf8d0b3e
+
+### Prerequisites
+
+### Automation Account
+- The **Az.Account** and **Az.ResourceGraph** modules must be installed for the script to work correctly.  
+- A **managed identity** must be configured for the Automation Account, enabling secure access to the required resources in Azure.  
+
+### Runbook
+- A **schedule** for the **runbook** must be configured, ensuring the script runs automatically at predefined intervals.  
+
+### Parameters
+
+The script requires the following parameters:
+
+<<<<<<< HEAD
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: Make sure to resolve the merge conflict here 
created_at: 2025-04-04T17:52:11Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,26 @@
+{
+  "Title": "Azure Arc SQL Tags Inheritance",
path: drops/AzureArcSQLTags-Inheritance.json
user: login: kianaharris4
body: I would make the summary start something more like "This Jumpstart Drop provides a script that validates tag inheritance...."
created_at: 2025-04-04T17:56:18Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,25 @@
+{
+  "Title": "Azure Arc Connectivity Check",
+  "Summary": "This script validates the connectivity and status of Azure endpoints, ensuring proper Azure Arc functionality.",
path: drops/ArcEndpointCheck.json
user: login: kianaharris4
body: I would make the summary start something more like "This Jumpstart Drop provides a script that validates the connectivity..."
created_at: 2025-04-04T17:58:12Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,25 @@
+{
+  "Title": "Azure Arc Connectivity Check",
+  "Summary": "This script validates the connectivity and status of Azure endpoints, ensuring proper Azure Arc functionality.",
+  "Description": "This Drop includes a PowerShell script to test connectivity and DNS resolution for Azure Arc endpoints. It checks static/dynamic endpoints, validates azcmagent.exe execution, and generates a log to diagnose connectivity issues in hybrid environments.",
+  "Cover": "https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/ArcEndpointCheck/ArcEndpointCheck.png",
+  "Authors": [
+    {
+      "Name": "Fabio R V Costa",
+      "Link": "https://www.linkedin.com/in/fabiotreze/"
+    }
+  ],
+  "Source": "https://github.com/fabiotreze/AzureArcBRTips/tree/main/azure_arc_jumpstart_drops/script_automation/ArcEndpointCheck",
path: drops/ArcEndpointCheck.json
user: login: kianaharris4
body: The source would actually be "https://github.com/Azure/arc_jumpstart_drops/tree/main/script_automation/ArcEndpointCheck" since you are leveraging the forked Drops repository for your content.

If you want to manage the content in your own repository, then you can point to this source instead and remove everything you created under the script_automation directory.
created_at: 2025-04-04T18:04:46Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,26 @@
+{
+  "Title": "Azure Arc SQL Tags Inheritance",
+  "Summary": "This script validates tag inheritance from Azure Arc VMs to SQL Instances, ensuring consistency and better resource management.",
+  "Description": "Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.",
+  "Cover": "https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.png",
+  "Authors": [
+    {
+      "Name": "Fabio R V Costa",
+      "Link": "https://www.linkedin.com/in/fabiotreze/"
+    }
+  ],
+  "Source": "https://github.com/fabiotreze/AzureArcBRTips/blob/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/",
path: drops/AzureArcSQLTags-Inheritance.json
user: login: kianaharris4
body: The source would actually be "https://github.com/Azure/arc_jumpstart_drops/tree/main/script_automation/AzureArcSQLTags-Inheritance" since you are leveraging the forked Drops repository for your content.

If you want to manage the content in your own repository, then you can point to this source instead and remove everything you created under the script_automation directory.
created_at: 2025-04-04T18:05:05Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,26 @@
+{
+  "Title": "Azure Arc SQL Tags Inheritance",
path: drops/AzureArcSQLTags-Inheritance.json
user: login: fabiotreze
body: Item fixed and submitted for review via pull request. 
created_at: 2025-04-04T19:02:20Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,40 @@
+---
+type: docs
+title: "Azure Arc Connectivity Check"
+linkTitle: "Azure Arc Connectivity Check"
+weight: 1
+description: >
+---
+
+## Overview  
+
+This script was created to help identify connectivity issues with the Azure Arc Machine Agent and its endpoints. It tests the necessary URLs, validates Azure Arc functionality, and performs DNS resolution, network connectivity, and HTTP request checks, logging the results for review.
+
+## Prerequisites
+
+- PowerShell
+- Network connectivity
+
+## Getting Started
+
+Download the [ArcEndpointCheck.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/ArcEndpointCheck/ArcEndpointCheck.ps1) and follow these steps to set up and use the script:
path: script_automation/ArcEndpointCheck/_index.md
user: login: fabiotreze
body: Item fixed and submitted for review via pull request. 
created_at: 2025-04-04T19:02:32Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,49 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: fabiotreze
body: Item fixed and submitted for review via pull request. 
created_at: 2025-04-04T19:02:40Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
+[AzureArcSQLTags-Inheritance.ps1](./AzureArcSQLTags-Inheritance.ps1).
+=======
+[AzureArcSQLTags-Inheritance.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1).
+>>>>>>> b4bf0a831f11a6c37679ade45fa40019cf8d0b3e
+
+### Prerequisites
+
+### Automation Account
+- The **Az.Account** and **Az.ResourceGraph** modules must be installed for the script to work correctly.  
+- A **managed identity** must be configured for the Automation Account, enabling secure access to the required resources in Azure.  
+
+### Runbook
+- A **schedule** for the **runbook** must be configured, ensuring the script runs automatically at predefined intervals.  
+
+### Parameters
+
+The script requires the following parameters:
+
+<<<<<<< HEAD
+- `ResourceGroupName`: The name of the resource group where the Azure Arc SQL Instance and the associated VM are located.  
+- `SubscriptionID`: The ID of the Azure subscription where the resources are registered.  
+- `tagName`: The name of the tag to be applied to the Azure Arc SQL Instance, based on the tags configured on the associated VM.  
+=======
+- **ResourceGroupName**: The name of the resource group where the Azure Arc SQL Instance and the associated VM are located.  
+- **SubscriptionID**: The ID of the Azure subscription where the resources are registered.  
+- **tagName**: The name of the tag to be applied to the Azure Arc SQL Instance, based on the tags configured on the associated VM.  
+>>>>>>> b4bf0a831f11a6c37679ade45fa40019cf8d0b3e
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This (line 49) will need to be deleted
created_at: 2025-04-04T19:14:00Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
+[AzureArcSQLTags-Inheritance.ps1](./AzureArcSQLTags-Inheritance.ps1).
+=======
+[AzureArcSQLTags-Inheritance.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1).
+>>>>>>> b4bf0a831f11a6c37679ade45fa40019cf8d0b3e
+
+### Prerequisites
+
+### Automation Account
+- The **Az.Account** and **Az.ResourceGraph** modules must be installed for the script to work correctly.  
+- A **managed identity** must be configured for the Automation Account, enabling secure access to the required resources in Azure.  
+
+### Runbook
+- A **schedule** for the **runbook** must be configured, ensuring the script runs automatically at predefined intervals.  
+
+### Parameters
+
+The script requires the following parameters:
+
+<<<<<<< HEAD
+- `ResourceGroupName`: The name of the resource group where the Azure Arc SQL Instance and the associated VM are located.  
+- `SubscriptionID`: The ID of the Azure subscription where the resources are registered.  
+- `tagName`: The name of the tag to be applied to the Azure Arc SQL Instance, based on the tags configured on the associated VM.  
+=======
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This (line 45) will need to be deleted
created_at: 2025-04-04T19:14:06Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
+[AzureArcSQLTags-Inheritance.ps1](./AzureArcSQLTags-Inheritance.ps1).
+=======
+[AzureArcSQLTags-Inheritance.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1).
+>>>>>>> b4bf0a831f11a6c37679ade45fa40019cf8d0b3e
+
+### Prerequisites
+
+### Automation Account
+- The **Az.Account** and **Az.ResourceGraph** modules must be installed for the script to work correctly.  
+- A **managed identity** must be configured for the Automation Account, enabling secure access to the required resources in Azure.  
+
+### Runbook
+- A **schedule** for the **runbook** must be configured, ensuring the script runs automatically at predefined intervals.  
+
+### Parameters
+
+The script requires the following parameters:
+
+<<<<<<< HEAD
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This (line 41) will need to be deleted
created_at: 2025-04-04T19:14:13Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
+[AzureArcSQLTags-Inheritance.ps1](./AzureArcSQLTags-Inheritance.ps1).
+=======
+[AzureArcSQLTags-Inheritance.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1).
+>>>>>>> b4bf0a831f11a6c37679ade45fa40019cf8d0b3e
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This (line 26) will need to be deleted
created_at: 2025-04-04T19:14:22Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
+[AzureArcSQLTags-Inheritance.ps1](./AzureArcSQLTags-Inheritance.ps1).
+=======
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This (line 24) will need to be deleted
created_at: 2025-04-04T19:14:52Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This (line 22) will need to be deleted
created_at: 2025-04-04T19:15:03Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,48 @@
+---
+type: docs
+title: "Azure Arc Connectivity Check"
+linkTitle: "Azure Arc Connectivity Check"
+weight: 1
+description: >
+---
+
+## Overview  
+
+This script was created to help identify connectivity issues with the Azure Arc Machine Agent and its endpoints. It tests the necessary URLs, validates Azure Arc functionality, and performs DNS resolution, network connectivity, and HTTP request checks, logging the results for review.
+
+## Prerequisites
+
+- PowerShell
+<<<<<<< HEAD
+- Network connectivity 
+
+## Getting Started
+
+Download the [ArcEndpointCheck.ps1](./ArcEndpointCheck.ps1) and follow these steps to set up and use the script:
+=======
+- Network connectivity
+
+## Getting Started
+
+Download the [ArcEndpointCheck.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/ArcEndpointCheck/ArcEndpointCheck.ps1) and follow these steps to set up and use the script:
+>>>>>>> b4bf0a831f11a6c37679ade45fa40019cf8d0b3e
path: script_automation/ArcEndpointCheck/_index.md
user: login: kianaharris4
body: This (line 28) will need to be deleted
created_at: 2025-04-04T19:15:15Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,48 @@
+---
+type: docs
+title: "Azure Arc Connectivity Check"
+linkTitle: "Azure Arc Connectivity Check"
+weight: 1
+description: >
+---
+
+## Overview  
+
+This script was created to help identify connectivity issues with the Azure Arc Machine Agent and its endpoints. It tests the necessary URLs, validates Azure Arc functionality, and performs DNS resolution, network connectivity, and HTTP request checks, logging the results for review.
+
+## Prerequisites
+
+- PowerShell
+<<<<<<< HEAD
+- Network connectivity 
+
+## Getting Started
+
+Download the [ArcEndpointCheck.ps1](./ArcEndpointCheck.ps1) and follow these steps to set up and use the script:
+=======
+- Network connectivity
+
+## Getting Started
+
+Download the [ArcEndpointCheck.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/ArcEndpointCheck/ArcEndpointCheck.ps1) and follow these steps to set up and use the script:
path: script_automation/ArcEndpointCheck/_index.md
user: login: kianaharris4
body: ./ArcEndpointCheck.ps1 
created_at: 2025-04-04T19:15:41Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,48 @@
+---
+type: docs
+title: "Azure Arc Connectivity Check"
+linkTitle: "Azure Arc Connectivity Check"
+weight: 1
+description: >
+---
+
+## Overview  
+
+This script was created to help identify connectivity issues with the Azure Arc Machine Agent and its endpoints. It tests the necessary URLs, validates Azure Arc functionality, and performs DNS resolution, network connectivity, and HTTP request checks, logging the results for review.
+
+## Prerequisites
+
+- PowerShell
+<<<<<<< HEAD
path: script_automation/ArcEndpointCheck/_index.md
user: login: kianaharris4
body: This (line 16) will need to be deleted
created_at: 2025-04-04T19:15:49Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,59 @@
+---
+type: docs
+title: "Azure Arc SQL Tags Inheritance"
+linkTitle: "Azure Arc SQL Tags Inheritance"
+weight: 1
+description: >
+---
+
+## Overview  
+Ensure Azure Arc SQL Instances inherit tags from the associated Azure Arc VM, addressing the default behavior where SQL Instances do not replicate tags. This improves resource management and consistency in the Azure environment.
+
+## Getting Started
+
+This repository contains the **Azure Arc SQL Instance - Tag Inheritance** script, designed to resolve **tag management inconsistencies** in scenarios with **SQL machines integrated with Azure Arc**.
+
+### Why Use This Script?  
+By default, Azure Arc SQL Instances do not inherit tags from the associated Azure Arc VM, complicating resource management. This script ensures the tags from the VM are replicated to the SQL Instance, promoting better organization and consistency in your Azure environment.
+
+## Deploying Artifacts
+
+The script **`AzureArcSQLTags-Inheritance.ps1`** can be used in a **runbook** and is available in the **scripts** folder of this repository. You can access it directly at the following link:  
+<<<<<<< HEAD
+[AzureArcSQLTags-Inheritance.ps1](./AzureArcSQLTags-Inheritance.ps1).
+=======
+[AzureArcSQLTags-Inheritance.ps1](https://raw.githubusercontent.com/fabiotreze/AzureArcBRTips/refs/heads/main/azure_arc_jumpstart_drops/script_automation/AzureArcSQLTags-Inheritance/AzureArcSQLTags-Inheritance.ps1).
path: script_automation/AzureArcSQLTags-Inheritance/_index.md
user: login: kianaharris4
body: This (line 25) will need to be deleted
created_at: 2025-04-04T19:16:28Z
author_association: CONTRIBUTOR

PR comments:
user: login: microsoft-github-policy-service[bot]
created_at: 2025-04-03T22:18:47Z
body: 👋 Hello @fabiotreze,

Thank you for your pull request, a team member will review it soon. All issues and pull requests are validated by the Arc Jumpstart team and must pass all validation checks before being merged.
By submitting this pull request, you agree that your contributions will be licensed under the [MIT license](https://github.com/microsoft/azure_arc/blob/main/LICENSE-CODE) license and you confirm that you've read and will abide by our [Code of Conduct](https://github.com/microsoft/azure_arc/blob/main/CODE_OF_CONDUCT.md).

<!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
author_association: NONE