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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
manoj_0911
Helper V
Helper V

Error Creating Cloud Connection to AWS RDS SQL Server in Power BI Service

Hello Power BI Community,

 

I’m trying to set up a cloud connection in Power BI Service for my report that connects to an AWS RDS SQL Server instance. I successfully published the report from Power BI Desktop, but I encounter the following error when trying to create a cloud connection for scheduled refresh:

```
Unable to create connection for the following reason: We could not access the data source. Please make sure you have permission to access the data source and that your credentials are correct.

Details:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The wait operation timed out.)
```

Here’s how I’ve set up the connection:

- Connection Name: AWS RDS
- Connection Type: SQL Server
- Server: [MASKED SERVER NAME],5433
- Database: [MASKED DATABASE NAME]
- Authentication Method: Basic
- Username: [MASKED USERNAME]
- Password: [MASKED PASSWORD]
- Encrypted Connection: Yes (Encrypted)
- Privacy Level: Organizational

 

Could someone help me understand what might be going wrong, or if I’m missing something in the configuration?

 

Thank you for your help!

1 REPLY 1
v-linhuizh-msft
Community Support
Community Support

Hi @manoj_0911 ,

 

Here are several steps you can take to troubleshoot and resolve the issue:

Check the connection details to make sure the server name, database name, user name, password , etc. are correct.

You may need to check your network and firewall settings to ensure that your gateway server can access the AWS RDS instance.

The SQL Server instance needs to be configured to allow remote connections. You can check the SQL Server configuration to ensure that the TCP/IP protocol is enabled.

 

Ideas for troubleshooting the problem can be found below:

A network-related or instance-specific error occurred - SQL Server | Microsoft Learn

How To Connect Power BI to an AWS RDS SQL Server | by WCI Data Solutions | Medium

Consistent SQL Server network connectivity issues - SQL Server | Microsoft Learn

docs.aws.amazon.com

 

Best Regards,
Zhu
Community Support Team

 

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

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!

December 2024

A Year in Review - December 2024

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