I have been struggling for the better part of a week to figure out how to enable snapshot debugging with an on premise c# app service. The app is already reporting to application insights, and capturing failures. However, no debugging images are showing up.
However, this has had no effect.
https://learn.microsoft.com/en-us/azure/azure-monitor/app/ip-addresses#snapshot-debugger
Can someone please help me figure out how to get this working? Or is there some kind of log that can tell me what's going wrong?
The Snapshot Debugger connects to endpoints in the AzureMonitor Service Tag range. See https://learn.microsoft.com/azure/azure-monitor/snapshot-debugger/snapshot-debugger-troubleshoot#edit-network-proxy-or-firewall-rules
You will need to modify the rules on your firewall to allow traffic to all IP addresses within the AzureMonitor ranges. See https://learn.microsoft.com/azure/virtual-network/service-tags-overview#service-tags-on-premises for instructions.
In addition to AzureMonitor, you'll also need to allow the Storage Service Tag because snapshots (memory dumps and symbols) are uploaded to blob storage.