PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

Azure AD - Import Pagination

alvian
New Contributor III
New Contributor III

Hi All,

I'm encountering an issue while customizing the AAD Account and Group Import. Below are the API responses:

{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups",
"@odata.nextLink": "https://graph.microsoft.com/v1.0/groups?$filter=startswith(%27AWS.%27%2cdisplayName)&$skiptoken=skip...",
"value": [all groups]
}
I'm attempting to use this import JSON for pagination using the following parameters:

"pagination": {
"nextUrl": {
"nextUrlPath": "${@odata.nextLink}"
}
}

However, the result is: Failed url-${@odata.nextLink} with Error Message-null

1 REPLY 1

alvian
New Contributor III
New Contributor III

"pagination": {
"nextUrl": {
"nextUrlPath": "${(response?.completeResponseMap?.get('@odata.nextLink')==null)? null : response?.completeResponseMap?.get('@odata.nextLink')}"
}
}