Forum Discussion

Schiszler_I's avatar
Schiszler_I
Frequent Visitor
4 years ago
Solved

Scheduled refresh fails in Dataflow: missing credentials

Hello,

 

I have a dataflow connecting to 4 web service APIs with anonymous access. Authentication is made inside the scriprts with basic authentication followed by API keys, both in HTML post, that is why testing is skipped at the web datasource configuration, the info message indicates, that crendentials are not validated:

 

Every time I run an on-demand refresh I have no error, the dataflow refreshes flawlessly from the datasources. However each schedules refresh fails with the same error message: " Data source credentials are missing or invalid. Please update the credentials for Web in dataflows settings page and try again. " 

 

Logging in to the service and running an on-demand refresh without changing the datasource setting gives no error.

 

(On-demand: igény szerinti, Scheduled: ütemezve, Failed: sikertelen, Success: befejezve)

 

I use MFA to log-in however the datasources do not require this method. 

 

Do you have any workaround for this problam?

 

 

  • The problem was solved, the error just disappeared without any intervention. Only thing I did I have changed the data source credentials to username-password then switched be to anonymous access. Since that it's working. Must be a bug in the dataflow service.

     

5 Replies

  • In your Power Query code, where you're using Web.Contents(), are you using the RelativePath and Query parameters to construct your URL?  This can resolve some errors.

  • v-yalanwu-msft's avatar
    v-yalanwu-msft
    Community Support

    Hi, Schiszler_I ;

    Are you using on-premises data gateway or personal mode? Please check if the gateway is updated to the latest version and also check if the PBIEgwService is always running on your server. 

     

    https://community.powerbi.com/t5/Service/Data-Source-Credentials-not-being-able-to-enter/m-p/804874

    Best Regards,
    Community Support Team_ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Schiszler_I's avatar
      Schiszler_I
      Frequent Visitor

      This is a web datasource, no gateway needed.

  • Schiszler_I's avatar
    Schiszler_I
    Frequent Visitor

    The problem was solved, the error just disappeared without any intervention. Only thing I did I have changed the data source credentials to username-password then switched be to anonymous access. Since that it's working. Must be a bug in the dataflow service.