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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Dataflows - There was an error in the OAuth popup window

I've been trying to utilise dataflows in Power BI but when connecting to SharePoint on-premise using the odata i'm getting no luck.

 

Mostly common errors are for OData:

1. There was an error in the OAuth popup window

  1a. This is when connecting to root level to an externally hosted odata connection point of the on-premise SharePoint solution such as https://sharepointsite.com/_vti_bin/listdata.svc and see below for connection 

Logical_0-1657288828160.png

 

    1b. I'll also try multiple ways such as using "none" for the data gateway  and using "Organizational account" for the "Authentication Kind" but still the same error stated above.
    2. I'll also try using Basic auth and this just returns this:

Logical_1-1657288993115.png

 

Ive also tried to connect directly to Odata on the power bi desktop editor and it works fine with the .svc link stated above.

 

Any ideas?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

For your first error, through research, I found out that the reason that the popup was not working is because there was an erroneous space or some other wrongs in the URL.  It appears the error merely indicates that the connection is not possible so I would advise a detailed check of your connection definition. 

 

At the same time, your second error also clearly indicates that there is a problem with the URL you provided.

 

So I check your URL and find something wrong, this is the correct format for URL entered:

vmengzhumsft_0-1657523756630.png

 

Power BI: Two Way To Get Data From SharePoint List / Library - TechNet Articles - United States (Eng...

 

So check this part  you entered,

vmengzhumsft_1-1657523756632.png

This is the URL I test:

vmengzhumsft_2-1657523756632.png,you can refer to it.

 

Best regards,

Community Support Team Selina zhu

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

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

For your first error, through research, I found out that the reason that the popup was not working is because there was an erroneous space or some other wrongs in the URL.  It appears the error merely indicates that the connection is not possible so I would advise a detailed check of your connection definition. 

 

At the same time, your second error also clearly indicates that there is a problem with the URL you provided.

 

So I check your URL and find something wrong, this is the correct format for URL entered:

vmengzhumsft_0-1657523756630.png

 

Power BI: Two Way To Get Data From SharePoint List / Library - TechNet Articles - United States (Eng...

 

So check this part  you entered,

vmengzhumsft_1-1657523756632.png

This is the URL I test:

vmengzhumsft_2-1657523756632.png,you can refer to it.

 

Best regards,

Community Support Team Selina zhu

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

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.