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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
cpmohanraj
Frequent Visitor

Get data using Azure REST API - Post method

Hi All,

 

I am trying to build a Power BI report that would access Azure REST API ti get data factory pipeline run data.

 

The API document - https://docs.microsoft.com/en-us/rest/api/datafactory/pipelineruns/querybyfactory - this doesn't work from Power BI

 

I am able to access another call from Power BI - https://docs.microsoft.com/en-us/rest/api/datafactory/pipelines/listbyfactory

 

The difference between them is the former needs to be called using POST method while the latter is called using GET method

 

I understand that I need to pass the credentials (in the form of a token) but I am not sure how to generate this token every time I refresh the report.

 

Any help or reference would be greatly appreciated

3 REPLIES 3
v-cherch-msft
Employee
Employee

Hi @cpmohanraj

 

Here is the video for your reference.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Cherie for the video link. 

 

I am trying to access this data from Power BI desktop. Do you know how do you register Power BI desktop as an app in Azure AD? Should I be asking this question in Azure forum.

 

 

Hi @cpmohanraj

 

Please refer to this article:Register an app with Azure AD.If you need further help,i would suggest you post your question here.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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