How to establish connection between azure AML workplace and azure Sql MI via private endpoint

Hanh Trinh 91 Reputation points
2026-07-27T10:05:46.9833333+00:00

I'm looking for method to connect Azure MI from Azure AML via Private Endpoint.

Azure AML network setting: allowonly approved outbound

Azure MI: NSG allows to connect from Service tag: Azure machine learning to Sql

But the connection still fails.

Azure Machine Learning

1 answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,546 Reputation points
    2026-07-27T12:15:21.5633333+00:00

    With Allow only approved outbound, the AML managed network can create private endpoints only to supported targets. Microsoft's current list includes Azure SQL Server, not Azure SQL Managed Instance. A direct managed private endpoint to SQL MI is unsupported; the AzureMachineLearning service tag permits traffic but does not create private routing.

    Use AML compute in a customer-managed VNet. Peer it with the SQL MI VNet, or create a SQL MI private endpoint in a VNet reachable from the compute. Configure DNS so the exact SQL MI hostname resolves to the private-endpoint address, use that hostname in the connection string, and permit TCP 1433. Test DNS and TCP connectivity from the compute node.

    Managed virtual networking cannot be disabled on an existing workspace, so this design may require a new workspace. Do not use an FQDN outbound rule as a workaround; AML FQDN rules support only ports 80 and 443.

    Was this answer helpful?

    0 comments No comments

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.