Hello @Raj D ,
Welcome to the Microsoft Q&A platform.
As mentioned in the question. https://learn.microsoft.com/en-us/rest/api/datafactory/pipeline-runs/get , you are using the endpoint to query the pipeline.
This will only query the non-debug pipeline runs - meaning triggered runs.
I encountered the issue when I ran the pipeline using the Debug option
And did not occur when in the prod/triggered run or simply when I click on the trigger now after publishing the latest changes. I was able to run the activity successfully.
If this is not your case, you can choose ignore the below answer and help me understand whether issue is persistent even in client tools like POSTMAN.
If you want to get the data for the current debug pipeline run. From my testing you will have to tweak your endpoint slightly to query the debug runs.
Just a minor change ........<FACTORYNAME>/debugpipelineruns..... instead of ......<FACTORYNAME>/pipelineruns.....
https://management.azure.com/subscriptions/<YOUR SUBSCRIPTION>/resourceGroups/<RESOURCE GROUP>/providers/Microsoft.DataFactory/factories/<FACTORYNAME>/debugpipelineruns/@{pipeline().RunId}?api-version=2018-06-01
Method : GET
Output:
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators