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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SokuTaIke
Helper I
Helper I

cant connect to datasource

Hi, I'm the Power BI admin of a large organization.

 

We have a report connected to a database via direct query that can't connect to the database once published. This is the summarization of the situation:

  • the datagateway is connected and working
  • the account registered in the datagateway has read permissions on the database
  • other reports using the same database and the same credentials have no issues
  • the datasource name in the error is unfamiliar with us and we can't find it
  • the error specifies "there is a time-out in the connection or the credentials are invalid"
  • the report uses a native (SQL) database query instead of power query - can this be the problem?

 

SokuTaIke_0-1695640637132.png

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @SokuTaIke ,

The error message "There is a time-out in the connection or the credentials are invalid" in Power BI usually indicates an issue with the connection or the credentials used for authentication. Here are a few possible reasons and solutions to consider:

1. Connection Time-out: If the error is due to a time-out, you can try increasing the timeout value in your Power BI settings or optimizing your data source to improve performance.


2. Invalid Credentials: Ensure that the credentials used for authentication are correct and up-to-date. Double-check the username, password, and any other required authentication details.


3. Network or Firewall Issues: Check if there are any network or firewall restrictions preventing a successful connection. Consult with your network administrator to ensure that the necessary ports and protocols are open.

 

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.

View solution in original post

SokuTaIke
Helper I
Helper I

We solved the problem:

Usually our accounts work when they have read permission on database level. SERVER/DATABASE

However, in this specific case read permissions were needed on schema level SERVER/DATABASE/SCHEMA

This might have to do with extra tight security measures for this specific schema in the SQL database, but we are not sure. 

 

 

View solution in original post

3 REPLIES 3
SokuTaIke
Helper I
Helper I

We solved the problem:

Usually our accounts work when they have read permission on database level. SERVER/DATABASE

However, in this specific case read permissions were needed on schema level SERVER/DATABASE/SCHEMA

This might have to do with extra tight security measures for this specific schema in the SQL database, but we are not sure. 

 

 

Anonymous
Not applicable

Hi @SokuTaIke ,

The error message "There is a time-out in the connection or the credentials are invalid" in Power BI usually indicates an issue with the connection or the credentials used for authentication. Here are a few possible reasons and solutions to consider:

1. Connection Time-out: If the error is due to a time-out, you can try increasing the timeout value in your Power BI settings or optimizing your data source to improve performance.


2. Invalid Credentials: Ensure that the credentials used for authentication are correct and up-to-date. Double-check the username, password, and any other required authentication details.


3. Network or Firewall Issues: Check if there are any network or firewall restrictions preventing a successful connection. Consult with your network administrator to ensure that the necessary ports and protocols are open.

 

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.

ribisht17
Super User
Super User

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors