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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

OAuth error when creating a dataflow from a SharePoint folder

Hi, I am trying to create a dataflow using the SharePoint folder connector.

 

The popup window opens and closes after 1s and I got an error during the authentication.

 

Capture BI.PNG

 

I tried the solution from this post and it didn't work : https://community.powerbi.com/t5/Power-Query/Creating-a-Dataflow-from-a-SharePoint-Online-list-get-T....

 

The connection to the SharePoint folder is working on Power BI desktop.

 

Regards,

 

Brice

1 ACCEPTED SOLUTION

You must use a gateway for on-prem SharePoint and likely need to switch to Windows authentication.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi lbendlin, thanks for your quick answer.

 

This is on-premise sharepoint. Is there still a way to create a connection ?

You must use a gateway for on-prem SharePoint and likely need to switch to Windows authentication.

Anonymous
Not applicable

Thanks a lot! It's working well using a standard gateway and windows authentication mode.

lbendlin
Super User
Super User

Please confirm that this is SPO and not on-premise sharepoint.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.