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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jamesholland198
Frequent Visitor

Dataflow Excel Gateway Connections Issues

Hi,

 

Really hoping someone can help as this has me stumped and is something that seems to have changed in the last week.

 

I have a number of existing Dataflows, all with a mixture of On Prem and Excel Web files.  These existing Dataflows work fine and were only setup 1 week ago.

 

I'm now trying to set up another new Dataflow, again a mixture of On Prem and Excel Web files.  On Prem setup works fine, can select the Gateway and connect.  When I then want to add an Excel Web connection by copying the M code from the working Dataflow into a blank query on the new Dataflow, I then can't authenticate.

 

I have to select the On Premises Gateway (even though not required as cloud files) otherwise I get a message saying "Changing the on-premises data gateway will apply to all queries in this mashup"

 

Whenever I try to authenticate through the Gateway no matter which method I try, I get login errors as below.  So puzzling as I'm doing nothing differently to last week when I added about 50 entities across 4 Dataflows, all of whihc same sources as I'm trying to add to the new Dataflow.

 

Organizational Account:

 

Organizational Account.PNG

 

Windows Account:

 

Windows Account.PNG

 

 

Would really appeciate any help at all.

 

Thanks,

5 REPLIES 5
ibarrau
Super User
Super User

Hi. This is confusing. This is quite confusing. The Web.Contents don't need a gateway, you can just enter credentials activating the setting in "Manage Gateways":

If have this checked you don't need gateway for Web.Contents. 

On the other hand if you are sure that you can't access web and it's on premise only, then you might consider using File.Content and a Windows path. I don't think you can configure a windows credentials for web.

 

Regards, I hope that make sense.


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

Happy to help!

LaDataWeb Blog

Thanks for your reply.  Yeah I maybe wasn;t clear in my first post, it's difficult issue to explain

 

I know that you don't need to add web sources to the Gateway, it's just that because my Dataflow already contains an On Prem source, the Gateway is applied to this Dataflow.  And so when I try to add web sources to the Dataflow, it still makes me select the Gateway:

 

 

 

unexpected error2.PNG

 

 

Then when I sign in to Organizational account, I get the below error:

 

unexpected error3.PNG

 

 

It's just so confusing as I was able to do this with dozens of Web sources last week across numerous Dataflows, yet all of a sudden these authentication issues have started.

 

If I try to Authenticate using Windows login instead, I just get "Invalid credentials" - even though it works fine when creating a dataset using the same sources and queries directly in Desktop.

 

Any help would be appreciated, thanks

Dataflow will suggest the gateway, but you can change the onpremise gateway to "none" and continue without it. If your excel is in sharepoint it should ask for microsoft professional account (organizational account or auth2).

Have you tried that?

 


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

Happy to help!

LaDataWeb Blog

Yes, I can select None as the Gateway when setting up the Web entity, which works fine and connects under Organizational account, until I then add an On Prem source to the Dataflow, at which point PBI then says a Gateway is required - when I do this the On Prem entity is then added OK, and then Web entity stays OK.

 

But if I try to add another Web entity after this, I have to then select the Gateway and can't select None again - as if I select None I get the below, which then means my On Prem entity stops working

 

gateway.PNG

 

I've created dozens of Dataflow entities with a mix of On Prem/Web and have worked perfectly fine for weeks, it's only the last 2 days that something has changed and now I can no longer create Dataflows with a mixture of On Prem/Web.  Yet the Dataflows already setup in previous weeks (using exact same method as today) still connect and refresh fine, it's only when creating new ones these issues have all started.

 

 

As it stands, it looks like the only way around this is to have 2 different Dataflows, one with the On Prem entities and one with the Web entities - just don;t understand why this seems to be the only option now when it didn;t a week ago and I could happily mix different sources within 1 Dataflow.

 

Thanks,

Hi, did you resolve this? I have the exact same issue...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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