Load data from Azure PostgreSQL to Azure Analysis Services (AAS) - postgresql

I have a Azure database for PostgreSQL and want to set up my Azure Analysis Service with this Postgres on Azure as datasource.
I'm not sure whether PostgreSQL on Azure is supported by AAS? I am getting the below error when trying to connect:
Error
I tried with the below extension, but installing it did not resolve the issue:
Npgsql installed
My assumption is that I need to install the on-premise gateway to be able to connect this Azure PostgreSQL db - can anybody confirm this is the right direction and will resolve the connection issue?

I'm not sure whether PostgreSQL on Azure is supported by AAS? I need to install the on-premise gateway to be able to connect this Azure PostgreSQL db - can anybody confirm this is the right direction and will resolve the connection issue?
According to KranthiPakala:
Azure Database for PostgreSQL is not a supported data source of AAS.
You can connect to on-prem PostgreSQL as a data source for import or in-memory tabular models. In order to do this, select the ODBC data source option(start a new import connection , choose ODBC option, then pick the ODBC source name) and AAS will treat it like SQL Server.
References: Data sources supported in Azure Analysis Services and Specify provider data sources in tabular 1400 and higher model projects

Related

How to connect PostgreSQL Azure Cloud Server with SQL Developer?

Does anyone know if there is any chance to connect a PostgreSQL Azure Cloud Server with SQLDeveloper?
If someone knows this may you could explain to me how it works.
Or if it doesn't work which IDE should I use for it?
Thanks for helping me out!
You can connect azure PostgreSQL database using Azure Data Studio. I tried to repro this and below are the steps to connect using ADS.
Install Azure Data Studio and Click extensions on ADS and install PostgreSQL.
Click on Connections and in servers, click new connection.
Set Connection type to PostgreSQL and enter the connection details like Server name, username and password. Click connect.
Azure PostgreSQL DB is connected using Azure Data Studio.
Reference: MS document Quickstart: Connect and query PostgreSQL - Azure Data Studio | Microsoft Learn

How to fetch data from Postgres db behind firewall for power bi report

I am having my data on Postgres DB on Azure behind the firewall. Because of firewall it is not possible to import data in Power bi. I want to publish the report on https://app.powerbi.com/. Any suggestion how this can be done?
There are some major steps when importing the data into Power BI from Azure Database for PostgreSQL.
Install the ODBC driver
You have to add a rule to the firewall (inbound rule).
Refer https://niftit.com/connecting-power-bi-to-postgresql/ for more detailed explanation.

how to insert data into MySql using Azure data factory

In Azure Data Factory, the Copy activity doesn't support MySQL table in Sink setting (link). I need to copy some data from another database's table into a relevant MySQL table. Do we have any other Activity that can do the MySQL's insertion? Thanks.
Here's a guide to using an ODBC sink/source
https://learn.microsoft.com/en-us/azure/data-factory/connector-odbc?tabs=data-factory
Install a self hosted runtime on a server
Connect the self hosted runtime to the ADF instance
Install the MySQL ODBC driver on the server, set up a DSN and test it
Test it in the self hosted runtime console
Set up an ODBC linked service in ADF. Test it

Not able to connect to azure postgres db from azure data factory when SSL is enabled

I'm new to Azure Data factory and i'm trying to create data set that connects to azure postgres db where SSL is enabled, but i get the below error, any idea how to solve this error without disabling SSL on postgres.
when i try to add sslmode=Allow to connection parameters, i get this error
You need to select EncryptionMethod option in link service. As MSDN shows,
Update:
I haven't met your error. I can connect successfully via integration run time.
The following is my setting, you can have a try.
In Azure Database for PostgreSQL:
Link service:

Connecting to PostgreSQL Data Source in SQL Server Import Export Tool

I'm trying to setup an easily-replicable (or even manual and I do it once a month or so) process for moving data from a large Azure PostgreSQL database to a more manageable Azure SQL database for end users that are most familiar with SQL Server. I've successfully connected to the PostgreSQL database via PGAdmin, so I know all my connection string info.
I started by installing the latest ODBC driver from here.
I then used a connection string which was given to me from the Azure portal, filled in the proper database name and password, and attempted to use the following drivers:
PostgreSQL ODBC Driver(UNICODE)
PostgreSQL ODBC Driver(ANSI)
I am getting the following error with either of them:
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
What step am I missing in this process? Or how best can I troubleshoot this?
After more research, I attempted to add the ODBC driver here:
And got the following error (I'm not sure why Tableau is relevant to this?):
Thank you.