Forum Discussion

EMauterer's avatar
EMauterer
Frequent Visitor
9 years ago
Solved

Error when trying to create a scheduled refresh

Receiving the following error:

 

Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.

 

I'm referencing a SQL database that I'm connecting to in the Power BI Desktop.  I only get the credentials error when I try to create the scheduled refresh. 

 

Any ideas?

5 Replies

  • Hi EMauterer

     

    Can you go into the settings in Power BI Desktop, then click on Datasets, and go to your dataset that has got the SQL Server Source. And then you should see the section called Data Source credentials

    And under there you should have the options to add them in.

     

    Also as a side note when you create the SQL Server Data Source, there should be an option to put in a Windows username and password that has got the required access to the database?

    • EMauterer's avatar
      EMauterer
      Frequent Visitor

      My credentials are not being accepted.  I'm able to login just fine in Power BI desktop.  ??

      • GilbertQ's avatar
        GilbertQ
        Super User

        Hi EMauterer

         

        Can I ask where you are adding your credentials in the Power BI Service?


        Is it in the Gateway section, or under the Dataset section?