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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
BI_Analyticz
Helper V
Helper V

How to determine by data from web uses OAuth2 or API key

This might be a very silly question. I have connected to a WEB data using Authorization header and Basic xxxxxxxxxx. Is this OAuth2 type authentication or API authentication?

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @BI_Analyticz 

It's not OAuth as that requires that you first get a 'token' (code) before making a connection to the system to retrieve data.

An API is just a programmable means to retrieve data from a system and an API can can require several forms of authentication, it depends on the system.

An OAuth system is an API but so is a system that just requires a simple username/password combination.

These articles should help shed some light on the types of API's and types of authentication

Getting Started with API's in Power Query • My Online Training Hub

Connecting to an OAuth API Like PayPal With Power Query • My Online Training Hub 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

4 REPLIES 4
PhilipTreacy
Super User
Super User

Hi @BI_Analyticz 

OAuth authentication isn't supported for refresh in Report Server

Power BI report scheduled refresh in Power BI Report Server - Power BI | Microsoft Docs

But your Basic auth API connection should be fine.

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

Hi @BI_Analyticz 

It's not OAuth as that requires that you first get a 'token' (code) before making a connection to the system to retrieve data.

An API is just a programmable means to retrieve data from a system and an API can can require several forms of authentication, it depends on the system.

An OAuth system is an API but so is a system that just requires a simple username/password combination.

These articles should help shed some light on the types of API's and types of authentication

Getting Started with API's in Power Query • My Online Training Hub

Connecting to an OAuth API Like PayPal With Power Query • My Online Training Hub 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks Phil. I am using Report Server. Once I build the dashboards connecting to data via APIs. Do you know if we have any limitations for scheduling auto refresh for these authentication?

 

I mean is automatic refresh possible in report server for data comes through API when we use 

Anonymous, Basic, Web API, OAuth authentications? 

@PhilipTreacy Kindly help...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.