Forum Discussion

RakeshSinghr's avatar
RakeshSinghr
Resolver I
5 years ago

Power BI Dataflow Limitation

Dataflow usage in datasets

  • When creating a dataset in Power BI Desktop, and then publishing it to the Power BI service, ensure the credentials used in Power BI Desktop for the Dataflows data source are the same credentials used when the dataset is published to the service.
    1. Failing to ensure those credentials are the same results in a Key not found error upon dataset refresh

 

Based on this existing dataflow limitation, is it not possible to publish and refresh dataset using service principal?

Refresh fails with error - atleast one datasource is missing credentials, enter credentials for all datasources

 

Once published, i can see datasource with following details

 

ConnectionType: Extension

ConnectionDetails: path:PowerBI

                               kind:PowerBI

Gatewayid: xxxxx ( this seems to be a default/inbuilt gateway)

 

Anyone using dataflow in their dataset come across this issue?

 

2 Replies

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

    Hi RakeshSinghr 

    You can publish report and set refresh on the dataset. Please Map data sources in this dataset to Power BI and Apply it. And check in Data source credentials to make sure there are no credentials problem.

     

     

     

    If you still have questions, please let me known.

     

    Best Regards

    Caiyun Zheng

     

    If this post helps, please consider make it as the solution by Accept it as Solution. Really appreciate!

    • RakeshSinghr's avatar
      RakeshSinghr
      Resolver I

      v-cazheng-msft - are you saying that a dataset using only dataflow should still be configured to use gateway and set to Power BI?

       

      How do you update credentials programatically? i'm using service principal