Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

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


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


Anyone using dataflow in their dataset come across this issue?


Community Support
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!

@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

Helpful resources

PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!