Forum Discussion

MainlineData's avatar
MainlineData
Icon for Helper I rankHelper I
2 years ago
Solved

Failed to Test Connection to your Data Source - Retry Credentials - Only On Certain Reports

Hi,

 

A new issue it seems - I am getting on the below messages on my credentials (for databases) within Power BI Service.

This is on a newly uploaded file, which refreshes fine with desktop, and other reports within service use the exact same connection and refresh fine within Power BI service - its connection to our two main databases so we've got 30+ datasets that all uses them in some capacity.

 

However, even existing ones show this error as well when I check, but do refresh if I trigger it within service, but any new reports, like this one, fail on refresh and I can't set up new schedules.

 

Only started in the last day or so. Is this a bug within Power BI Service at present?

As I say, all connections refresh fine in Desktop, and existing reports in Service (not uploaded in the last day or so) continue to refresh upon schedule and manually.

When I do try to edit the credentials and re-enter the user name and password I get the following error, which leads me to believe this is an error on Microsofts side.

 

9 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, MainlineData 

    In this case, there is an issue with your data source credentials, and you can try creating a new connection in Power BI Service. This connection will connect to your data source, and then configure the current new connection for the newly reported semantic model, instead of updating the credentials.

    Also, whether other old reports that you use the current data source will be able to refresh? It's just that your new report has the current refresh error?

    You can refer to the following cases with similar questions:

    Solved: Failed to test the connection to your data source.... - Microsoft Fabric Community

    Solved: Failed to test the connection to your data source.... - Microsoft Fabric Community

     

     

    How to Get Your Question Answered Quickly

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

    Best Regards

    Jianpeng Li

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

    • MainlineData's avatar
      MainlineData
      Icon for Helper I rankHelper I

      Hi,

       

      When I've dug into this further, my core issue is linked to other behaviour that other users have found - that Power BI is treating a mySQL connection as a cloud source when it isn't (and isn't then using on-premise gateway).

       

      See this ticket for best description - https://community.fabric.microsoft.com/t5/Service/PowerBI-Recognizes-mySQL-as-Cloud-based/m-p/3843180

       

      I've just knocked the tower over by trying to investigate why this one report wouldn't work, and now knocked them all over.

      • MainlineData's avatar
        MainlineData
        Icon for Helper I rankHelper I

        I had also checked my credentials multiple times, and tried recreating connections, and even deleting / reuploading.

  • Hi,

     

    On power bi service please check whether the personal gateway connection is coming online or not.And you can check with your tenant admin he will help in setting up an on-premises data gateway connection.