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.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.