I have an Azure SQL Managed Instance that is using a Private Endpoint which is in Preview.
The Local vNet endpoint and the Private Endpoint are on the same vNet, but different Subnets. Ultimate goal is to disable Public access all together.
I've reviewed the documentation on creating a Private Endpoint on a SQL Managed Instance, and I am able to log into SSMS with the private endpoint link, but only if I select "Trust Server Certificate." That works fine.
The issue is when I try to use the "Data Import" feature on a Database hosted on the MI using OLE DB Driver option, and input the same connection string (private endpoint, trust server certificate, encryption disabled), I get the error below. Connecting via the public endpoint works fine.
I believe it has to do with the certificate mismatch in the SQL name, however, why does it allow me to log in via SSMS, but will not allow a data import with the OLE DB driver feature? Is this a supported configuration?
[Microsoft OLE DB Driver for SQL Server]: Client Unable to establish Connection
[Microsoft OLE DB Driver for SQL Server]: SSL Provider: The target principal name is incorrect.