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

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
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.