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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
SokuTaIke
Frequent Visitor

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
v-binbinyu-msft
Community Support
Community Support

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
Frequent Visitor

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
Frequent Visitor

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. 

 

 

v-binbinyu-msft
Community Support
Community Support

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors