An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hello Rui Silva,
When you changed the "Query Access" setting to “Restricted public inbound, enabled public outbound,” it restricted access from public networks, including the Azure Portal and potentially your internal network over VPN if not properly configured. Consequently, no machine can access data in this component except those configured through Azure Monitor Private Link.
To restrict access to the workspace while still allowing access from your internal network via VPN, you can configure Private Link.
Private Link allows you to access Azure services over a private endpoint in your virtual network. This ensures that traffic between your virtual network and the Azure service travels over the Microsoft backbone network, eliminating exposure from the public internet.
You can create a Private Link for your Log Analytics Workspace and configure your VPN to route traffic through the private endpoint which has created to connect AMPLS.
For detailed instructions on setting up Private Link, please refer to the following document.
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/private-link-configure
If Private Link is not feasible, you can whitelist your public IP address in the Log Analytics Workspace Networking settings. This will allow access from your specific public IP while still restricting other public access.
- Go to the Log Analytics Workspace > Networking section and set Public Network Access to “Enabled from selected networks.” Add your public IP address to the firewall rule list.
You can also use a Network Security Perimeter to define and enforce network boundaries. This involves configuring network security groups (NSGs) and Azure Firewall rules to allow traffic only from your internal network and VPN.
For more information, refer to this link: https://learn.microsoft.com/en-us/azure/azure-monitor/fundamentals/network-security-perimeter#create-a-network-security-perimeter
However, ensure that your VPN traffic is allowed in the Log Analytics Workspace Networking settings and verify that your VPN is correctly routing traffic to the Azure services.
If the provided solution works for your query, please do not forget to click Upvote Button. this can be beneficial to other community members.it would be greatly appreciated and helpful to others
Thanks