An Azure service that automates the access and use of data across clouds without writing code.
@Panji Satrio Thanks for your patience on this. Even If you try using Private DNS for creating a new connection to Azure Database for PotgreSQL flexible server as suggested by @Obinna Ejidike it fails to connect.
Try to setup VNet (Virtual Network) Integration through Azure Portal:
In the Azure portal, on the logic app resource menu, under Settings, select Networking.
On the Networking page, in the Outbound traffic configuration section, select the link next to Virtual network integration.
On the Virtual network integration page, select Add virtual network integration.
On the Add virtual network integration pane, select the subscription, the virtual network that connects to your internal service, and the subnet where to add the logic app. When you finish, select Connect.
On the Virtual Network Integration page, by default, the Outbound internet traffic setting is selected, which routes all outbound traffic through the virtual network. In this scenario, the app setting named WEBSITE_VNET_ROUTE_ALL is ignored.
To find this app setting, on the logic app resource menu, under Settings, select Environment variables.
If you use your own domain name server (DNS) with your virtual network, add the WEBSITE_DNS_SERVER app setting, if none exists, and set the value to the IP address for your DNS. If you have a secondary DNS, add another app setting named WEBSITE_DNS_ALT_SERVER, and set the value to the IP for your secondary DNS.
After Azure successfully provisions the virtual network integration, try to run the workflow again.
The HTTP action now runs successfully.