Share via

Application Insights - Network Isolation - Blocking public Access blocks queries but not data ingestion

Anon4343 576 Reputation points
2022-07-29T18:10:57.983+00:00

We're trying to utilize Application Insights Network Isolation and Azure Monitor Private Link Scopes, but we're not getting the expected behaviour.

When 'Accept data ingestion from public networks...' is set to no, it appears that data is still submitted. However, if we set 'Accept queries from public networks...' to no, access to the data is blocked. I'm using the Metrics graph as my test scenario. We're using private DNS and neither a computer on a peered VNET nor an on-prem computer can view the data. Private DNS entries look good for the Private Endpoint. The VNets are peered and other Private Links on the same VNet are accessible. It seems like the computers don't know to use the private IP addresses for this data. How do I resolve this?

I can see traffic on the private link by using Monitor - Network - Private Link . The application insight object is included within the Azure Monitor Private Link Scope.

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.

Azure Private Link
Azure Private Link

An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.

0 comments No comments

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,311 Reputation points Microsoft Employee
    2022-07-30T04:29:36.25+00:00

    Hi,

    From your statement, it looks like the from the source, packets are routed to a public endpoint not via the private endpoint. So, can you make sure that the Private DNS Zone which you have created is linked with the VNET of source ?

    Lets say the source is a VM in a VNET named VNET1, then you will need to make sure that the Private DNS Zone is linked to a VNET1. Only then the DNS resolution happens to the Private Endpoint.

    Regards,
    Karthik Srinivas

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.