March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I can connect to all of our PostgreSQL databases in Power BI Desktop but none of them are accessible when publishing the reports. They all come back with invalid credentials and when I type in the credentials it says the following.
What am I missing here?
I got it!!
On the server you will use as Gateway (that reach the Azure PostgreSQL DB source) you need to:
If the test is OK, the server is able to connect to Azure PostgreSQL by ODBC then go on Power BI Service and create a new connection using the gateway (local) installed at the point 1 and setting as below:
Here is an example in Italian.
I have the same issue while I am tryng to sign the credential in PBI Service to connecting to Azure PostgreSQL.
The Gateway it is not necessary and cannot be the solution because both the source (PBI Service and Azure PostgreSQL) are in Microsoft Cloud and not on-premises.
Does anyone know the solution? Thanks!
We managed to solve the issue. When we had a further look at the error message (when expanding it) it said that we had to use "Npgsql v4.0.10 or Earlier". So, we installed it and it worked. Just note that you have to select "NpgSQL GAC" Installation manually under the options menu on the first screen.
Here is another post where someone did the same:
https://community.powerbi.com/t5/Service/Gateway-error-connecting-to-PostgreSQL/m-p/965710#M89808
Hi @vicduplessis ,
Please try to install gateway for connect your dataset to on-premise data source.
Please try below steps:
1. install a gateway: personal/standard type, that according to your connection type
2. configure the gateway
3. set the data source for gateway in service
4. can view report in service
For more details, you can read related document: On-premises data gateways documentation | Microsoft Learn , On-premises data gateway - Power BI | Microsoft Learn , Install an on-premises data gateway | Microsoft Learn , Use the on-premises data gateway app | Microsoft Learn , Manage an on-premises data gateway | Microsoft Learn
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
35 | |
26 | |
19 | |
7 | |
7 |
User | Count |
---|---|
54 | |
43 | |
22 | |
13 | |
11 |