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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.