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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
merrsparsons
New Member

Connect GraphQL API with Oauth2

I am trying to pull data from a website that my company uses for digital work instructions. We pay them for the API access and they have provided documentation for their API, but they are not familiar with Power Bi. I have tried every way I know how (which is limited) to connect the API to Power Bi and I get nothing but errors.

 

Previously when I tried this, they provided me two different revocation tokens (no idea what this is). But the current documentation mentions nothing about using revocation tokens.

 

In the most recent documentation, they provided this:

 

merrsparsons_0-1714707177989.png

 

They also, further down provided this info:

 

merrsparsons_1-1714707241550.png

I have tried the URL with no luck. If someone could point me in the right direction, I would be most appreciative.

2 REPLIES 2
Anonymous
Not applicable

Hi, @merrsparsons 

Make sure that OAuth2 is set up correctly as an authentication method in Power BI. This typically involves specifying the authorization URL, token URL, client ID, and client secret provided by the API provider. You can check the following link:

Connect to Snowflake with Power BI - Power BI | Microsoft Learn

If you're not already using Power BI's web connector, try using Power BI's web connector to connect to the API. You'll need to enter the API URL and set the authentication method to OAuth2. 

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

Thank you for replying.

 

I received two revoke tokens and a client ID.

 

Maybe its the desktop version I am required to use at work, but the web connector does not give me the option to select OAuth2.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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