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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors