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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.