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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
amartin00
New Member

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

Hi  @amartin00 ,

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
amartin00
New Member

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 🙂

 

Hi  @amartin00 ,

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.

v-binbinyu-msft
Community Support
Community Support

Hi @amartin00 ,

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors