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

Top Solution Authors