Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
tlanza
Advocate I
Advocate I

Cannot add a dataflow to a gateway

I created a dataflow using a blank query and I was able to run it showing the data, and save it correctly. It's important to note that I select my on-prem gateway at this creation step. However, when I try to refresh, it fails and says I need to add credentials. "Error: Data source credentials are missing or invalid. Please update the credentials for Web in dataflow settings and try again".

 

When I go to the dataflow settings, I'm unable to access the gateway and the data source credentials as they are greyed out (see pic below).  When I go in and edit the dataflow, the gateway selection changes back to "none". Does anyone have any suggestions? All of my other dataflows that are using this same source are working just fine.

 

Thank you.

 

Annotation 2019-08-28 090918.png

3 REPLIES 3
dax
Community Support
Community Support

Hi tlanza,

I test this in my environment, I use below query in blank query(I choose gateway before)

let
    Source = Sql.Databases("server\instance"),
    newsql = Source{[Name="newsql"]}[Data],
    dbo_sorttime = newsql{[Schema="dbo",Item="sorttime"]}[Data]
in
    dbo_sorttime

It will show me this option when I click "Next"

288.PNG

Then after I type credential and finish this, the dataflow works well  in my environment. You could try to set this in applied steps(edit queries->source) in your dataflow to see whether it works or not.

In addition, which type datasoure did you used in dataflow, could you please inform me in details?

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi Zoe Zhi,

I assume I would have to add that test sql  database to my gateway as a connection right? 

For my dataflow, I'm not trying to connect to a sql database. I'm trying to use a Web connection to make an API call to my system. I typically do all of my configurations to my data in Power BI desktop > copy the M code from the query > paste it as a blank query in the dataflow creation on the web. This has worked perfectly for me in the past with no issues. Now, over the past few weeks I've been running into these issues that prevent me from creating or adding to my existing dataflows. The dataflows I created months ago still work fine but I'm unable to make new ones. I should also add that only new dataflows I create do not allow me to edit the gateway information for them. All of the existing dataflows allow me to change the gateway information.

 

I'm hoping someone has a fix or this is a known issue becuase I shouldn't have to backdoor basic functionality.

I experience the exact same issue. In all newly created dataflows I am not longer able to configure the gateway credentials. 
Previously built dataflows don't have this problem and work perfectly. The workaround described by Zoe Zi doesn't'work for me, because I use custom scripts that retrieve a dynamic logon token to connect to my data source. 

I've'also created a support ticket for this problem. Microsoft, please fix this a.s.a.p.!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors