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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Sylvain_C
Regular Visitor

How to access AKENEO REST API WITH OAuth 2.0 ACCESS TOKEN with power Query

Hello everyone,

I am trying to access AKENEO REST API WITH OAuth 2.0 ACCESS TOKEN with power Query and after a long day of looking for the solution myself reading a lot of articles about the subject I have to say I’m dry on this one 😊

Here is the documentation I am using from https://api.akeneo.com/documentation, my PIM version is V5 :

Sylvain_C_0-1670927550228.pngSylvain_C_1-1670927559579.pngSylvain_C_3-1670927576308.png

 

Sylvain_C_2-1670927570178.png

 

here is my M code :

Sylvain_C_4-1670927604306.png

As far as I understood:

  • I encoded the “client_id:secret” in B64 to fill the Authorization header
  • I try to do a POST so I use Content in the url
  • I specify the header “Content-Type” as “application.json” and I send Json format value in the postData
  • I use anonymous authentication with Power BI considering that the authentication informations are imbembed into the url

I suppose that there is something wrong here but I can’t figure it out …

If you can help me on this one I would be grateful, also I am very interested in understanding what’s wrong here so don’t hesitate to explain !

Regards

Sylvain CHARLETY

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Sylvain_C ,

Please follow the body of the document example. 

vcgaomsft_0-1671011796596.png

excel - Power Query, make http POST request with form data

POST Requests in Power Query

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Sylvain_C ,

Please follow the body of the document example. 

vcgaomsft_0-1671011796596.png

excel - Power Query, make http POST request with form data

POST Requests in Power Query

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors