An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hi Cuong Nguyen,
I would say its looks like a classic situation where DNS appears to work from your test but does not work in the context in which Azure Monitor actually connects to SAP. NameResolutionFailure in Azure Monitor for SAP almost always means the service itself cannot resolve the hostname the same way your SSH session does. The fact that tcpping works from Kudu does not guarantee that the same resolver is used by the provider at runtime. The hostfile entries you generate apply to the SAP central server, not to the Function App or the Kudu container. If the SAP application server inside its network cannot resolve the same FQDN, Azure Monitor will return a temporary failure in name resolution. A common issue is that short names are defined in the hostfile while the provider connects using FQDN, or the other way around, and even a small mismatch in the hostname can trigger the error. You should verify that the hostname specified in the Application server field exactly matches the name that actually resolves, check for split DNS behaviour, and confirm there are no hidden characters or formatting issues in the hostfile mappings. A successful network validation only confirms TCP connectivity and does not guarantee correct DNS resolution behaviour. It is also advisable to enable diagnostic logs for Azure Monitor for SAP solutions and identify which hostname is failing to resolve, as in most cases the root cause is either an FQDN mismatch or a DNS configuration issue on the SAP side.
LMK
rgds,
Alex