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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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