and more in a single search tool across platforms. Read the announcement here. |
04/25/2024 07:43 AM
We're utilizing ImportAccountEntJSON for the Azure AD Rest connection to bring in Azure AD group members. However, it's not transferring the group members to Saviynt. Do we need to adjust any settings or modify the provided JSON?
Please find the below JSON:
"acctEntParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"AADGroup": {
"call": {
"call2": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"url": "https://graph.microsoft.com/beta/groups/${id}/members",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json",
"ConsistencyLevel": "eventual"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value",
"entKeyField": "entitlementID",
"acctIdPath": "id",
"acctKeyField": "accountID",
"pagination": {
"nextUrl": {
"nextUrlPath": "${(response?.completeResponseMap?.get('@odata.nextLink')==null)? null : response?.completeResponseMap?.get('@odata.nextLink')}"
}
}
}
}
}
}
}
I tried the below URLs as well:
https://graph.microsoft.com/beta/groups/${id}/members
https://graph.microsoft.com/v1.0/groups/${id}/members/microsoft.graph.user
https://graph.microsoft.com/beta/groups/${id}/members/microsoft.graph.user
https://graph.microsoft.com/beta/groups/${id}/members
Can you please help here to solve this issue?
Thanks,
Gaurav
04/25/2024 08:05 AM
Hi @Gaurav29, do you see response API response in logs?
1)Try changing "call2" to "call1"
2) acctIDpath value right? I don't remember correctly but I have used principalID for azureAD account in of the API call
04/29/2024 03:13 AM
Hi @NM,
Thank you for your response.
I attempted both options, but unfortunately, neither of them resolved the issue. Additionally, there are no errors reported in the import job logs.
Thanks
Gaurav
04/25/2024 09:53 PM
04/29/2024 03:15 AM
Hi @rushikeshvartak ,
Thank you for your reply.
I tried updating the Url to '${entitlementID}' and '${entitlementValue.entitlementID}' but unfortunately, neither of them resolved the issue. Additionally, there are no errors reported in the import job logs.
Thanks
Gaurav
04/29/2024 08:33 PM
Please share logs