Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
DeepakJha23
Helper I
Helper I

PostGreSQL schedule refresh error on Power BI service

Hi PowerBI Community,

 

We are using PostGreSQL database on AWS for our dashboard. The refresh on Power BI Desktop is working absolutely fine but when we are setting up the Schedule Refresh on Power BI Service we are getting the below error : 

"Failed to update data source credentials: An error happened while reading data from the provider: 'An attempt was made to access a socket in a way forbidden by its access permissions"

PostGreSQL error.PNG

@Greg_Deckler@amitchandak @edhans 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @DeepakJha23 ,

 

Based on your description, I think maybe something wrong in the PostGreSQL, like firewall or TCP/IP.

Here is similar solved case.

Solved: data source credendial update error - Microsoft Power BI Community

Or you can refer to the following link for troubleshooting.

Troubleshooting PostgreSQL Database Connection Issues | The Solarium (wordpress.com)

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
SS1992
New Member

Hi Any solution to this error? I am getting the same error.

ake
Frequent Visitor

Hi, im having the same error since saturday 15th. 

 

Im using a gateway to conect to MySQL AWS. 

 

 

Anonymous
Not applicable

Hi @DeepakJha23 ,

 

Based on your description, I think maybe something wrong in the PostGreSQL, like firewall or TCP/IP.

Here is similar solved case.

Solved: data source credendial update error - Microsoft Power BI Community

Or you can refer to the following link for troubleshooting.

Troubleshooting PostgreSQL Database Connection Issues | The Solarium (wordpress.com)

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @DeepakJha23 ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your problem.

 

Best Regards,

Yuna

edhans
Super User
Super User

I've not used PostGRESQL, so cannot test this, but have you looked at the permissions? This page has more info on how to access. I'm assuming you have the on-prem gateway set up and have established a connection in the online gateway settings?



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

This is a PostGreSQL database in AWS cloud. We are trying to set up the direct refresh without any gateway.

 

Thanks,

Deepak

There is an overview here - they are using an ODBC connection vs the native PostGreSQL connector. AWS Platform Tutorials - Power BI to PostgreSQL Connection (wciconsulting.com)



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.