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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
SevsBo
Responsive Resident
Responsive Resident

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
Responsive Resident
Responsive Resident

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

SevsBo
Responsive Resident
Responsive Resident

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

SevsBo
Responsive Resident
Responsive Resident

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

SevsBo
Responsive Resident
Responsive Resident

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

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

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.