Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

Data refresh is failing with Invalid connection error

I  am getting Invalid connection error in Power BI Service while trying to resfresh my data set below are configuration not sure why 

Data credentials says access granted  ( Admin has granted access , credentials are not required)

Data source is SQL Server 2016 few tables.

I have on premesis gateway which is online , Data refresh from Power BI desktop work but from Power BI service it fails.

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous My guess is a permissions issue, but you could check the gateway log files specifically. There are usually better errors in the logs.

    Source: https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem-tshoot

    Installer logs

    Copy
    %localappdata%\Temp\On-premises_data_gateway_*.log

    Configuration logs

    Copy
    %localappdata%\Microsoft\On-premises Data Gateway\GatewayConfigurator*.log

    On-premises data gateway service logs

    Copy
    C:\Users\PBIEgwService\AppData\Local\Microsoft\On-premises Data Gateway\Gateway*.log
  • v-yulgu-msft's avatar
    v-yulgu-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi Anonymous,

     

    For "Data credentials says access granted", did you mean the data source was connected successfully when you add data source to gateway?

     

    What is the error message? Can any other dataset refresh successfully via the same gateway? What is the result after restarting your data gateway service?

     

    Regards,

    Yuliana Gu

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Yuliana,

      Yes Gateway is online and test connection works  fine under Gateway cluster settings. it Data Source setting its also says connection successful

      All datasets under this gateway are failing. Below is the error message

      Last refresh failed: Thu Jan 11 2018 11:46:38 GMT-0800 (Pacific Standard Time)
      Invalid connection credentials.Hide details
      Cluster URI: WABI-UK-SOUTH-redirect.analysis.windows.net
      Activity ID: b656b7fa-8da9-6780-ef8d-168bff0654ff
      Request ID: 957dfeff-0a26-eb4a-e514-9b0d43a10637
      Time: 2018-01-11 19:46:38Z

       

      • v-yulgu-msft's avatar
        v-yulgu-msft
        Icon for Microsoft Employee rankMicrosoft Employee

        Hi Anonymous,

         

        If possible, could you please update the gateway to latest version for a test?

         

        Regards,

        Yuliana Gu