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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Hamdan1234
Helper III
Helper III

API Connection with Power BI

I am new to Power Bi and having problem with API connection. Firstly I have to login from here https://demo.ipayroll.co.nz/login

then it gives Client ID and Secret which I am putting in web then in Web API but it is giving error again and again. I have tried it using it in Basic as well still it is giving the error.  Please help I need it the way it can import the data from source. I am new to API importing if any body can tell step by step it would be quite useful.

Thanks

InkedInkeddfggggt_LI.jpgInkedeteryyye_LI.jpg

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Hamdan1234 ,

 

Could you tell me if my post helps you? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @Hamdan1234 ,

 

As the thread said, You need to include ApiKeyName in your request rather than building up Authorization yourself.

 

Or try : In the Acces web content dialog, select Basic, enter your app's API key as the Username, and press Connect. This will open the Power BI Query Editor.

 

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

lbendlin
Super User
Super User

If you're going with client ID and secret then you need to use Anonymous in that dialog.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.