making a call to Azure data factory V1 REST API with Powershell V5.0


  • Hello,
    I'm trying to get the list of pipelines using PowerShell 5.0 using the Azure Data Factory V1.0 REST API -{SubscriptionId}/resourcegroups/{resourceGroup} /providers/Microsoft.DataFactory/datafactories/{datafactory}/datapipelines/?api-version=2015-10-01
    using the Invoke-RestMethod. The REST API has pagination implemented.
    Can someone help with a sample  traverse through the pagination in Powershell Invoke-RestMethod?
    Powershell 6.0 seems to have -FollowRelLink & MaximumFollowRelLink parameters in Invoke-RestMethod. In lieu of these parameters in PS 5.0 what are the options to traverse through the paged output of ADF V1.0 REST API?

    I'm very early stages of learning PS so any help is appreciated.

    Thanks in advance.

    Wednesday, June 27, 2018 5:24 AM

All replies