Azure Local - Azure Arc Gateway - Part 3c - Verify post-deployment enablement
- Intro
- Step 1 - Confirm the complete job succeeded
- Step 2 - Check the agent on every host
- Step 3 - Verify both Windows proxy configurations
- Step 4 - Verify Azure Arc resource bridge
- Step 5 - Confirm the route using logs
- Step 6 - Exercise management and extensions
- Step 7 - Keep workload validation separate
- Final remark
Intro
This article is part of a series: Navigate to series page
After enabling Arc Gateway with the post-deployment method in Part 3a, I want to answer two questions: is the configuration consistent, and does traffic actually use the intended path?
The Part 3b investigation describes a case where the local action completed but Azure’s job state remained inconsistent. If you see that mismatch, investigate it before treating the operation as complete. These checks help establish the local configuration and traffic paths; they do not repair a cloud job record or prove that every VM, AKS cluster, extension, and application has moved to the gateway.
Step 1 - Confirm the complete job succeeded
Open the Azure Local resource and review Jobs (preview).
- Find Configure Arc gateway.
- Expand the job and check the individual configuration steps.
- Confirm that the overall job reports Success. If the local action and cloud job disagree, follow Part 3b and preserve both sets of evidence.
- Check that every machine is Connected and Azure Arc resource bridge is Running.
If the job is still running, or any step failed, do not start firewall hardening. Record the failed step, error details, and operation time. Keep the previous outbound paths available.
Step 2 - Check the agent on every host
Run these commands in an elevated PowerShell session on each Azure Local machine:
azcmagent show
azcmagent check
Compare the results with the baseline captured in Part 3a.
| Check | Expected result |
|---|---|
| Agent Status | Connected |
| Using HTTPS Proxy | http://localhost:40343 |
| Gateway URL | The URL assigned to the selected gateway |
| Upstream Proxy | The intended enterprise proxy, or empty if none is configured |
| Azure Arc Proxy (arcproxy) | Running |
| Connection mode | Gateway mode for traffic intended to use the gateway |
| Endpoint checks | All required tested destinations reachable |
Look at every tested endpoint, not just the final line of output. An unreachable destination needs investigation even if the agent currently reports Connected.
Also distinguish reachability from routing. A destination that passes the test over a fallback or bypass route does not prove it traversed the gateway tunnel.
Step 3 - Verify both Windows proxy configurations
Import the module supplied with the Azure Local deployment artifacts:
$proxyConfigNuget = Get-ASArtifactPath -NugetName Microsoft.AzureLocal.ArcGateway.Deploy.ProxyConfiguration
$proxyConfigModulePath = 'content\PowerShell\Roles\ProxyConfiguration\ProxyConfiguration.psm1'
Import-Module -Name "$proxyConfigNuget\$proxyConfigModulePath" -Force -Verbose:$false
Get-WinHttpProxyConfiguration |
Format-List ConnectionURI, @{Label='BypassList'; Expression={$_.BypassList -join ','}}
Get-WinInetProxyConfiguration |
Format-List ConnectionURI, @{Label='BypassList'; Expression={$_.BypassList -join ','}}
The commands display the proxy addresses and complete bypass lists separately. Confirm that HTTPS uses the local Arc proxy and that the complete required bypass set is present.
Review HTTP independently. HTTP is not tunneled through Arc Gateway, even if its configured first hop is a proxy also used for HTTPS.
Repeat on every host. If Group Policy or another management tool subsequently resets these settings, an initially successful job can still be followed by configuration drift. Resolve the policy conflict rather than repeatedly changing the settings manually.
Step 4 - Verify Azure Arc resource bridge
From an appropriate elevated Azure Local session:
Get-ARBProxyConfiguration
For non-bypassed HTTPS, expect the cluster IP on port 40343. This is not localhost inside the appliance and not one permanently selected host IP.
Compare ByPass with the required appliance exclusions. The appliance can use Linux domain and CIDR notation, so assess equivalent destinations rather than requiring a text-identical Windows list.
Review HTTP separately and validate its onward route. The current Microsoft post-deployment example shows both HTTP and HTTPS using the cluster-IP proxy, but that does not make HTTP eligible for the gateway tunnel.
Do not run appliance-level proxy changes to make the output match another topology’s example. For coordinated updates, use the documented Azure Local proxy update workflow.
Step 5 - Confirm the route using logs
To watch recent local proxy activity:
Get-Content `
-Path "$env:ProgramData\AzureConnectedMachineAgent\Log\arcproxy.log" `
-Tail 100 `
-Wait
Use Ctrl+C to stop following the log. To collect the diagnostic archive:
azcmagent logs
Correlate the operation time, source host, and destination with enterprise proxy or firewall logs. For resource bridge traffic, inspect the host currently serving the cluster-IP proxy.
I would test these paths separately:
| Test category | What I want to establish |
|---|---|
| A currently supported HTTPS destination | Uses the selected gateway tunnel unless explicitly bypassed |
| Required unsupported HTTPS | Remains reachable through the permitted fallback path |
| A local bypass destination | Uses the intended direct/internal route |
A supported gatewayBypass destination, if configured | Skips the tunnel but retains the configured enterprise proxy |
| Required HTTP | Remains reachable outside the gateway tunnel |
The perimeter firewall will normally see the outer gateway connection, not every destination inside it. Use the Arc proxy log for the destination context rather than expecting the firewall alone to identify tunneled services.
Step 6 - Exercise management and extensions
With the old endpoint allowlist still available, verify representative operations appropriate to your environment:
- Refresh infrastructure and resource bridge health in the portal.
- Check extension status and generate fresh monitoring data where monitoring is enabled.
- Perform an approved management operation on a nonproduction Azure Local VM.
- Run the applicable lifecycle readiness or health checks for your release.
- Review new deny events in firewall logs.
Record what you actually exercised. Viewing an old healthy extension status does not prove a new installation, download, or telemetry upload works.
Do not use a disruptive production update simply as a connectivity test. Validate update behavior in the appropriate lab or maintenance window.
Step 7 - Keep workload validation separate
Guest VMs use their own Arc proxy and outbound network path. Existing AKS clusters do not automatically receive the infrastructure proxy changes.
For each existing AKS cluster, review control-plane and worker configuration, image pulls, workload health, and application-defined pod proxy settings. Keep the old route until those checks pass.
Part 5 will cover VMs, and Part 6 will cover Kubernetes. Do not record either as verified based only on the host checks above.
Final remark
I would consider infrastructure enablement validated only when the cloud job state is resolved, all hosts and resource bridge have the expected configuration, and fresh traffic confirms the intended routes.
For firewall reduction, Microsoft’s post-deployment guidance recommends staged changes with 24-48 hours of observation between stages. Part 4 will cover that topic.
Have feedback on this post?
Send me a message and I'll get back to you.