Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement 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')}"
}
}