Synapse Analytics workspace can not linked services to PostgreSQL Flexible within VNet

Đỗ Hoàng Minh Hưng 25 Reputation points
2024-10-23T18:47:00.0266667+00:00

Here is my scenario:

  • A database uses Azure Database for PostgreSQL - Flexible Server with Private access (VNet Integration) setting.
  • An Azure Synapse Analytics Workspace with Managed virtual network (Enable)

I can not create the linked service to my PostgreSQL - Flexible Server. It always come with error :

The remote name could not be resolved: 'hungdhm-psql-flex-private.private.postgres.database.azure.com'
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,996 questions
Azure Database for PostgreSQL
{count} votes

Accepted answer
  1. AnnuKumari-MSFT 33,401 Reputation points Microsoft Employee
    2024-10-24T18:16:08.8566667+00:00

    Hi Đỗ Hoàng Minh Hưng ,

    Welcome to Microsoft Q&A platform and thanks for posting your query here.

    The issue you're facing occurs because Azure Synapse Analytics Managed Virtual Network (VNet) doesn't have direct access to services deployed within private VNets.

    Probably you need to create a Private Endpoint for your PostgreSQL Flexible Server and link it to Synapse’s Managed VNet.

    Since your PostgreSQL Flexible Server uses private access via VNet integration, Synapse can't directly communicate with it unless the proper networking configuration is in place. Creating private endpoint would help in establishing the connection between postgreSQL and Synapse Vnet.

    Reference: Azure Database for PostgreSQL - Flexible Server networking with Private Link

    Hope it helps. Kindly accept the answer by clicking on Accept answer button. Thankyou

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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