Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Azure AD - Import Pagination

alvian
Regular Contributor
Regular Contributor

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
Regular Contributor
Regular Contributor

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