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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Dataflow (preview): Authenticating error when using sql and web connector (SPO) in same dataflow

Hi!

 

I have two sources:

    i) An on-prem SQL database (using: Sql.Database)

    ii) An excel workbook residing in SharpointOnline (using: Excel.Workbook(Web.Contents)

 

If I create a dataflow and first create a query for the excel file (ii) and then the SQL table, everything is ok.

 

But if I first create the query for the SQL table and then the excel file I am not able to authenticate to Sharepoint Online. The dataflow in this case assumes that the latter query (ii) also uses the gateway specified for the first query:

 

Auth error.PNG

 

Best regards

Trond Erik

2 ACCEPTED SOLUTIONS
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous ,

 

I tested on my side but not not able to reproduce the issue. After creating a SQL database entity, create a Web entity points to Excel file in SharePoint online, it will display as below:

 

q1.PNG

 

After saving the dataflow with these two entities, the dataflow can be refreshed successfully. In my test, the on-premises data gateway version is 3000.0.265. Please check your gateway version and update to the same version as ours then test it again. 

 

q2.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Anonymous
Not applicable

Hi Qiuyun, thanks for the reply!

 

My gateway is updated. But your post lead me to the solution 🙂

 

I was using the "Web" connector not the Web-API one. When using the latter it works!

 

Best regards

Trond Erik

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi, yes it is resolved. You can close this thread 🙂

 

BR
Trond E

v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous ,

 

It looks like the issue is resolved now, right? If it is, may I close this thread? 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Qiuyun, thanks for the reply!

 

My gateway is updated. But your post lead me to the solution 🙂

 

I was using the "Web" connector not the Web-API one. When using the latter it works!

 

Best regards

Trond Erik

v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous ,

 

I tested on my side but not not able to reproduce the issue. After creating a SQL database entity, create a Web entity points to Excel file in SharePoint online, it will display as below:

 

q1.PNG

 

After saving the dataflow with these two entities, the dataflow can be refreshed successfully. In my test, the on-premises data gateway version is 3000.0.265. Please check your gateway version and update to the same version as ours then test it again. 

 

q2.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.