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
Anonymous
Not applicable

Custom Rest API calls using Power BI getting error while authentication

Unable to make Custom API calls using Power BI but verified the API endpoints in postman working as expected.

Please update about the issue

4 REPLIES 4
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

There is extensive documentation on the use of the powerbi rest api. The following steps should be followed.
Step 1: Register an Application for Power BI
Step 2: Authorize User
Step 3: Generate Access Token
Step 4: List of Reports
Step 5: List of Datasets

 

For more details, you can read below blog and document:

REST API Power BI Integration: 2 Easy Methods (hevodata.com)

Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Docs

Chris Webb's BI Blog: Working with Web Services in Power Query Chris Webb's BI Blog (crossjoin.co.uk)


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Anonymous
Not applicable

Hi Henry,

             i have some confusion regarding app registration in Power BI. I am trying to connect to a custom cloud from InfiBeam. I was trying to test the api endpoints with Postman it was working fine initially. Thus i tried to connect directly to the custom API via Power BI which was throwing error unable to authenticate. Now the endpoints is not working in Postman so i am checking with the API team once its fixed i willl get back to you with more details.

 

Thanks,

Rudranu

Anonymous
Not applicable

pbi_error.png

Anonymous
Not applicable

Hi Henry,

I am getting above error when i give the API key and try to access throgh web Api. Could you please help me how to connect via web API.I have tested the get request in Postman its returning as expected.

 

Regards,

Rudranu

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.