Troubleshooting Session Host Connection Issues with Private Link

0
16
Asked By CyberNinja77 On

I'm trying to set up Azure Virtual Desktop using a private link, but I'm getting an error indicating that the session host can't connect because of the private link configuration. The error message states: "HostPoolDoesNotAllowPublicNetworkAccess: Network access from public endpoint is DENIED for hostpool x.x.x.x." However, when I check the session host itself, I can resolve all the private link addresses. Does anyone have any ideas on how to fix this? Thanks!

3 Answers

Answered By TechGuru99 On

First off, are you connecting to the session host from a VPN connected to your Azure network? If not, that might be necessary to establish a successful connection.

CloudMaster123 -

Yes, I do have a site-to-site VPN from Azure to my on-premises network. That shouldn’t be the issue.

Answered By AzureAdminExpert On

You might want to check your Azure Firewall settings. To allow private link traffic, you need to add the private endpoint's IP CIDR range (likely /32) to your firewall's network rules to prevent it from SNATting and ensure internal routing. Also, disable Network Policy for Private Endpoints on your subnet.

Answered By NetworkWhiz231 On

It sounds like the session host is in the host pool but isn’t active yet. Could you check if it is able to resolve the public DNS name of the host pool? If it does, verify whether it returns the private IP address.

CloudMaster123 -

I can confirm that it resolves correctly. Seems like a network access issue on that end.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.