2
votes

Inside Azure data factory i make a call to microsoft graph through a REST copy activity utilizing rest to get an access token to the service. The Graph api returns max 200 results, and therefore i am interested in using the pagination rules that can be created in the source. In post man i can see that my response structure is

{
   "@odata.context" : <some context>,
   "@odata.nextLink" : <the link to next page>
   "value" : [<the response data on current page>]
}

I have read in the documentation that i set the pagination rules by adding the key

AbsoluteUrl

and then the path to the next page given in the response as the value. How do i tell azure data factory how to find this?

1

1 Answers

3
votes

Since your repsonse is a json structure the value of

AbsoluteUrl

should be

$['@odata.nextLink']