Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
03/26/2024 07:52 AM - edited 03/26/2024 08:00 AM
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
Solved! Go to Solution.
03/26/2024 08:32 AM
"pagination": {
"nextUrl": {
"nextUrlPath": "${(response?.completeResponseMap?.get('@odata.nextLink')==null)? null : response?.completeResponseMap?.get('@odata.nextLink')}"
}
}