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
SevsBo
Resolver III
Resolver III

Authentication method missing in Web Source for API?

I have a Power BI report that I use to test various API calls. Normally, I would connect by using the Web source, then selecting Basic Authentication to access the data in the API call.

 

But recently I cannot do that. When I open the Web source, there are only two options, and when I input the API, neither of which allows me to authenticate. This naturally leads to an error saying that I don't have access to the resource.

 

SevsBo_0-1763388218331.png

 

SevsBo_1-1763388250705.png

 

SevsBo_2-1763388299392.png

 

Am I doing something wrong or has something changed?

1 ACCEPTED SOLUTION

HI @SevsBo 

This looks like more of your permission issue on the data source side.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

8 REPLIES 8
SevsBo
Resolver III
Resolver III

Issue was on our side - API had Roles for DEV assigned but not for PROD version. Resolved!

Pragati11
Super User
Super User

HI @SevsBo 

Can you share the WEB URL that you are trying to connect to?

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Afraid not, it's an internal company URL, which works well on reports we have already built.

Hi @SevsBo 

When I try to connect to a public web Url it works.

Pragati11_0-1763388780587.png

Web URL: https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States

 

I went with Anonymous authentication type.

 

Pragati11_1-1763388823825.png

It shows me tables I can connect to:

Pragati11_2-1763388888623.png

The only reason I can think of the error you are getting is may be either due to the credentials you used to authenticate have expired or your permissions have changed.

 

Can you clearing your permissions in Power BI Desktop once and then try again?

Go to --> Files --> Options & Settings --> Datasource Settings --> Select your WEB URL --> Clear Permissions --> Close

Now try reconnecting to the WEB source again.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Issue is I never get to the part where it asks for credentials. It's a whole new API, with new credentials, compared to the others, but it never brings up the window to ask for them.

 

EDIT: I have tried the wikipedia link you provided, that gave me the authentication method. It it possible there's a different issue at play here?

HI @SevsBo 

Have you tried clearing the data source permissions and trying again like in my response above?

Did something change on the API side of your organisation?

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

I cannot clear the data source as the new API URL was not permitted in the first place. I only get an error saying I cannot access the resource, so cannot add it as a data source. I am investigating with our data team, will report back if I find any solutions.

HI @SevsBo 

This looks like more of your permission issue on the data source side.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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.