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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

I want to make a post request with authentication in power bi service

Hello, I did a post request in Power Bi Desktop and it works correctly. Now i tried to take it to Power Bi Service but it tell me that "The query could not be evaluated due to invalid or missing credentials" and the credentials was in the url of the request. I need a help to try to discover a way to make a post request in power bi service in a DataFlow as i have done in pòwer bi desktop.

 

Thanks for help 🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

To do a post request with authentication to a Power BI RESTAPI, you can follow the steps below:

  1. Register your application and get an application ID.
  2. Add the Power BI API permissions to your application.
  3. Get an access token.
  4. Use the access token to call the Power BI REST APIs.

You can find more information on how to authenticate a REST API in Power BI in the following resources:

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hello. Sorry, i will try to explain it better.

I need to do a post request in Power BI Service (not in Desktop) but i read something like you cant do that due future security problems, that's true?? My problem is doing a post request with authentication to a API Rest.

Thanks in advance 🙂

 

Anonymous
Not applicable

Hi  @Anonymous ,

To do a post request with authentication to a Power BI RESTAPI, you can follow the steps below:

  1. Register your application and get an application ID.
  2. Add the Power BI API permissions to your application.
  3. Get an access token.
  4. Use the access token to call the Power BI REST APIs.

You can find more information on how to authenticate a REST API in Power BI in the following resources:

 

Best regards,
Community Support Team_Binbin Yu
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 @Anonymous ,

I'm a little confused about your needs, Could you please explain them further?

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.